summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-05-20 12:52:04 (GMT)
committerFred Drake <fdrake@acm.org>1999-05-20 12:52:04 (GMT)
commitc40c54782cdbdc7b0b90d0dd805647aa92e75a78 (patch)
treef7ebd172207b5acce8d03b89e69642ee96e06d81 /Lib
parent0eb7b2a65944aca336198944cf8cb92a3623296e (diff)
downloadcpython-c40c54782cdbdc7b0b90d0dd805647aa92e75a78.zip
cpython-c40c54782cdbdc7b0b90d0dd805647aa92e75a78.tar.gz
cpython-c40c54782cdbdc7b0b90d0dd805647aa92e75a78.tar.bz2
Map .js to application/x-javascript.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/mimetypes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index f15160f..cbc060b 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -175,6 +175,7 @@ types_map = {
'.jpe': 'image/jpeg',
'.jpeg': 'image/jpeg',
'.jpg': 'image/jpeg',
+ '.js': 'application/x-javascript',
'.latex': 'application/x-latex',
'.man': 'application/x-troff-man',
'.me': 'application/x-troff-me',