gh-83505: Add markdown mimetype mapping (#17995)

This commit is contained in:
Ryan Batchelder 2024-05-05 09:09:59 -04:00 committed by GitHub
parent aeb36c5bb9
commit b6f0ab5b1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -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',

View File

@ -0,0 +1 @@
Add mime type mapping for .md <-> text/markdown