This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add image/webp to list of non-standard mimetypes
Type: Stage: resolved
Components: Library (Lib) Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Support webp and avif image formats in mimetypes
View: 45639
Assigned To: Nosy List: eric.araujo, waicalibre
Priority: normal Keywords: patch

Created on 2020-10-30 09:16 by waicalibre, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23034 closed waicalibre, 2020-10-30 09:17
Messages (2)
msg379940 - (view) Author: (waicalibre) * Date: 2020-10-30 09:16
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.
msg380296 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2020-11-03 19:25
Hello!  Why open a second ticket?
History
Date User Action Args
2022-04-11 14:59:37adminsetgithub: 86371
2022-02-02 02:52:36eric.araujosetsuperseder: image/webp support in mimetypes -> Support webp and avif image formats in mimetypes
2020-11-04 02:43:23methanesetstatus: open -> closed
stage: patch review -> resolved
2020-11-04 02:40:40methanesetresolution: duplicate
superseder: image/webp support in mimetypes
2020-11-03 19:25:00eric.araujosetnosy: + eric.araujo
messages: + msg380296
2020-10-30 09:17:22waicalibresetkeywords: + patch
stage: patch review
pull_requests: + pull_request21953
2020-10-30 09:16:03waicalibrecreate