New submission from Danny Lin <danny0...@gmail.com>:
On Windows, command "python -m mimetypes foo.zip" outputs "type: application/x-zip-compressed encoding: None", while it's "type: application/zip encoding: None" on Linux. According to the mimetype.py in CPython source code, the MIME type for '.zip' is 'application/zip'. It seems to be overwritten somewhere on Windows. ---------- components: Windows messages: 376508 nosy: danny87105, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: MIME type for *.zip becomes application/x-zip-compressed on Windows type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41738> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com