-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
>>> import mimetypes
>>> mimetypes.guess_type("README.rst", strict=False)
(None, None)In the python:3.11 Docker image, we get a vanity type:
>>> mimetypes.guess_type("README.rst", strict=False)
('text/prs.fallenstein.rst', None)I think most people would expect text/x-rst. Even better would be to get it registered!
Linked PRs
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement