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.

Author bkabrda
Recipients bkabrda
Date 2012-06-27.07:10:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340781019.87.0.733806504492.issue15199@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-06-27 07:10:19bkabrdasetrecipients: + bkabrda
2012-06-27 07:10:19bkabrdasetmessageid: <1340781019.87.0.733806504492.issue15199@psf.upfronthosting.co.za>
2012-06-27 07:10:18bkabrdalinkissue15199 messages
2012-06-27 07:10:18bkabrdacreate