-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-128703: Fix mimetypes.guess_type for empty Content-Type in registry #128854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -0,0 +1,2 @@ | |||
Fix :meth:`mimetypes.MimeTypes.guess_type` to use default mapping for empty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We document this as a function:
Fix :meth:`mimetypes.MimeTypes.guess_type` to use default mapping for empty | |
Fix :func:`mimetypes.guess_type` to use default mapping for empty |
(I think that's right, but check the output of the docs build if it fails again.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I just saw it. But, to be honest, I often can't tell which label to use for symbol references.
Thanks @rruuaanng for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…egistry (pythonGH-128854) (cherry picked from commit 303043f) Co-authored-by: RUANG (James Roy) <[email protected]>
GH-130121 is a backport of this pull request to the 3.13 branch. |
…egistry (pythonGH-128854) (cherry picked from commit 303043f) Co-authored-by: RUANG (James Roy) <[email protected]>
GH-130122 is a backport of this pull request to the 3.12 branch. |
GH-128854) (cherry picked from commit 303043f) Co-authored-by: RUANG (James Roy) <[email protected]>
GH-128854) (cherry picked from commit 303043f) Co-authored-by: RUANG (James Roy) <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.