Skip to content

Commit b6f0ab5

Browse files
authored
gh-83505: Add markdown mimetype mapping (#17995)
1 parent aeb36c5 commit b6f0ab5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/mimetypes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ def _default_mime_types():
552552
'.csv' : 'text/csv',
553553
'.html' : 'text/html',
554554
'.htm' : 'text/html',
555+
'.md' : 'text/markdown',
556+
'.markdown': 'text/markdown',
555557
'.n3' : 'text/n3',
556558
'.txt' : 'text/plain',
557559
'.bat' : 'text/plain',
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add mime type mapping for .md <-> text/markdown

0 commit comments

Comments
 (0)