mirror of https://github.com/python/cpython
gh-83505: Add markdown mimetype mapping (#17995)
This commit is contained in:
parent
aeb36c5bb9
commit
b6f0ab5b1c
|
@ -552,6 +552,8 @@ def _default_mime_types():
|
||||||
'.csv' : 'text/csv',
|
'.csv' : 'text/csv',
|
||||||
'.html' : 'text/html',
|
'.html' : 'text/html',
|
||||||
'.htm' : 'text/html',
|
'.htm' : 'text/html',
|
||||||
|
'.md' : 'text/markdown',
|
||||||
|
'.markdown': 'text/markdown',
|
||||||
'.n3' : 'text/n3',
|
'.n3' : 'text/n3',
|
||||||
'.txt' : 'text/plain',
|
'.txt' : 'text/plain',
|
||||||
'.bat' : 'text/plain',
|
'.bat' : 'text/plain',
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Add mime type mapping for .md <-> text/markdown
|
Loading…
Reference in New Issue