mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
[3.12] gh-83505: Add markdown mimetype mapping (GH-17995) (#118594)
gh-83505: Add markdown mimetype mapping (GH-17995)
(cherry picked from commit b6f0ab5b1c
)
Co-authored-by: Ryan Batchelder <ryanbatch@gmail.com>
This commit is contained in:
parent
be88b3b996
commit
70636659f0
2 changed files with 3 additions and 0 deletions
|
@ -551,6 +551,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…
Add table
Add a link
Reference in a new issue