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

2020-10-15 Thread waicalibre


New submission from waicalibre :

WebP is an open image format that's existed for 10 years and is supported by 
most modern web browsers: 
https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#WebP. It 
should be in the list of media types.

--
messages: 378702
nosy: waicalibre
priority: normal
severity: normal
status: open
title: Add image/webp to list of media types in mimetypes.py
type: enhancement

___
Python tracker 
<https://bugs.python.org/issue42049>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-10-15 Thread waicalibre


Change by waicalibre :


--
keywords: +patch
pull_requests: +21686
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22718

___
Python tracker 
<https://bugs.python.org/issue42049>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-10-17 Thread waicalibre


waicalibre  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 
<https://bugs.python.org/issue42049>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42205] Add image/webp to list of non-standard mimetypes

2020-10-30 Thread waicalibre


New submission from waicalibre :

WebP is an open-source image format that isn't included in Python's mimetypes. 
It hasn't been added because it has no IANA registration: 
https://bugs.python.org/issue38902

In mimetypes.py there is a list of common but non-standard media types that 
only match if strict=0 flag is given to the API methods. If WebP isn't going to 
be added to the big standard list, it could be added to the non-standard list.

--
components: Library (Lib)
messages: 379940
nosy: waicalibre
priority: normal
severity: normal
status: open
title: Add image/webp to list of non-standard mimetypes

___
Python tracker 
<https://bugs.python.org/issue42205>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42205] Add image/webp to list of non-standard mimetypes

2020-10-30 Thread waicalibre


Change by waicalibre :


--
keywords: +patch
pull_requests: +21953
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/23034

___
Python tracker 
<https://bugs.python.org/issue42205>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38902] image/webp support in mimetypes

2020-11-03 Thread waicalibre


Change by waicalibre :


--
keywords: +patch
nosy: +waicalibre
nosy_count: 3.0 -> 4.0
pull_requests: +22051
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22718

___
Python tracker 
<https://bugs.python.org/issue38902>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38902] image/webp support in mimetypes

2020-11-03 Thread waicalibre


Change by waicalibre :


--
pull_requests: +22052
pull_request: https://github.com/python/cpython/pull/23034

___
Python tracker 
<https://bugs.python.org/issue38902>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com