mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-42158: Add MIME types for n-triples, n-quads, n3 and trig (GH-23230)
Co-authored-by: Éric Araujo <merwok@netwok.org>
This commit is contained in:
parent
f36c69a26e
commit
ef5305819f
2 changed files with 5 additions and 0 deletions
|
@ -436,6 +436,8 @@ def _default_mime_types():
|
|||
'.doc' : 'application/msword',
|
||||
'.dot' : 'application/msword',
|
||||
'.wiz' : 'application/msword',
|
||||
'.nq' : 'application/n-quads',
|
||||
'.nt' : 'application/n-triples',
|
||||
'.bin' : 'application/octet-stream',
|
||||
'.a' : 'application/octet-stream',
|
||||
'.dll' : 'application/octet-stream',
|
||||
|
@ -449,6 +451,7 @@ def _default_mime_types():
|
|||
'.ps' : 'application/postscript',
|
||||
'.ai' : 'application/postscript',
|
||||
'.eps' : 'application/postscript',
|
||||
'.trig' : 'application/trig',
|
||||
'.m3u' : 'application/vnd.apple.mpegurl',
|
||||
'.m3u8' : 'application/vnd.apple.mpegurl',
|
||||
'.xls' : 'application/vnd.ms-excel',
|
||||
|
@ -546,6 +549,7 @@ def _default_mime_types():
|
|||
'.csv' : 'text/csv',
|
||||
'.html' : 'text/html',
|
||||
'.htm' : 'text/html',
|
||||
'.n3' : 'text/n3',
|
||||
'.txt' : 'text/plain',
|
||||
'.bat' : 'text/plain',
|
||||
'.c' : 'text/plain',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue