Message164126
| 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: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 |
|