mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-30824: Add mimetype for .json (#3048)
This commit is contained in:
parent
d4b93e21c2
commit
8204b90368
1 changed files with 1 additions and 0 deletions
|
|
@ -439,6 +439,7 @@ def _default_mime_types():
|
||||||
'.jpeg' : 'image/jpeg',
|
'.jpeg' : 'image/jpeg',
|
||||||
'.jpg' : 'image/jpeg',
|
'.jpg' : 'image/jpeg',
|
||||||
'.js' : 'application/javascript',
|
'.js' : 'application/javascript',
|
||||||
|
'.json' : 'application/json',
|
||||||
'.ksh' : 'text/plain',
|
'.ksh' : 'text/plain',
|
||||||
'.latex' : 'application/x-latex',
|
'.latex' : 'application/x-latex',
|
||||||
'.m1v' : 'video/mpeg',
|
'.m1v' : 'video/mpeg',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue