milahu added the comment:
python-ideas thread
https://mail.python.org/archives/list/python-id...@python.org/thread/V53XGQPIY7ZAISMTQHPHKGWZNSN5EXQG/
--
___
Python tracker
<https://bugs.python.org/issue46
milahu added the comment:
edit:
- mimetype_of_ext[ext] = mimetype
+ else:
+# add new entry
+mimetype_of_ext[ext] = mimetype
--
___
Python tracker
<https://bugs.python.org/issue46
milahu added the comment:
this issue is different than Issue32462
because here, both entries are valid
```
cat /etc/mime.types | grep javascript
application/javascriptjs
application/x-javascript js
```
but the alphabetical ordering of the file
makes the last entry take
milahu added the comment:
patch
https://github.com/milahu/cpython/commit/8a50633bb1b0c3e39fbe2cd467bb34a839ad068f
--
___
Python tracker
<https://bugs.python.org/issue46
New submission from milahu :
deprecated mimetype?
per rfc4329, the technical term is "unregistered media type"
https://datatracker.ietf.org/doc/html/rfc4329#section-3
related
https://stackoverflow.com/a/9664327/10440128
https://github.com/danny0838/PyWebScrapBook/issues/53
quick