SIGN IN SIGN UP

[3.11] gh-66543: Fix mimetype.guess_type() (GH-117217) (GH-117257)

Fix parsing of the following corner cases:

* URLs with only a host name
* URLs containing a fragment
* URLs containing a query
* filenames with only a UNC sharepoint on Windows

(cherry picked from commit 9654daf793b534b44a831c80f43505ab9e380f1f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
M
Miss Islington (bot) committed
2d932361a8f81967363a6a9a82b3fa15283d034c
Parent: 1112e01
Committed by GitHub <noreply@github.com> on 3/26/2024, 11:46:28 AM