You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support webp formats in mimetypes as standard types #111741
WEBP is not recognised as a standard type and demands the user to use strict=False as in mimetypes.guess_type("foobar.webp", strict=False) to recognise it. This is because it was previously not recognised by IANA as an official type.
Since the introduction of webp support in the mimetypes module in #89802 it has officially been accepted to IANA and thus is not a "non-standard format" anymore.
Activity
gh-111741: Recognise image/webp as a standard format in the mimetypes…
serhiy-storchaka commentedon Jan 31, 2024
Thank you for your contribution @Nachtalb.
pythongh-111741: Recognise image/webp as a standard format in the mim…