[issue42049] Add image/webp to list of media types in mimetypes.py

waicalibre report at bugs.python.org
Sat Oct 17 07:34:18 EDT 2020


waicalibre <waicailbre_aayx at protonmail.com> added the comment:

Yep, looks like this issue is an exact duplicate. Sorry about that.
It looks like WebP is still not registered with IANA so it can't be added to the list according to this comment: https://github.com/python/cpython/blob/master/Lib/mimetypes.py#L407. It could still be added though to the common-but-not-official list of media types here: https://github.com/python/cpython/blob/master/Lib/mimetypes.py#L550.

Could that happen here or would that have to happen with a new issue and pull request, or in the issue that this issue is a duplicate of? Not really sure of the protocol here.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42049>
_______________________________________


More information about the Python-bugs-list mailing list