Message164126
Hi,
when using Python's Lib/mimetypes.py and none of the default files is present, there are some defaults used. For javascript, the default is application/x-javascript. However, according to IANA specification [1], this is not a registered type, and application/javascript should be used (see section 7).
I'm attaching a simple patch that fixes this.
[1] http://www.rfc-editor.org/rfc/rfc4329.txt |
|
Date |
User |
Action |
Args |
2012-06-27 07:10:19 | bkabrda | set | recipients:
+ bkabrda |
2012-06-27 07:10:19 | bkabrda | set | messageid: <1340781019.87.0.733806504492.issue15199@psf.upfronthosting.co.za> |
2012-06-27 07:10:18 | bkabrda | link | issue15199 messages |
2012-06-27 07:10:18 | bkabrda | create | |
|