mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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',
|
||||
'.html' : 'text/html',
|
||||
'.htm' : 'text/html',
|
||||
'.md' : 'text/markdown',
|
||||
'.markdown': 'text/markdown',
|
||||
'.n3' : 'text/n3',
|
||||
'.txt' : 'text/plain',
|
||||
'.bat' : 'text/plain',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue