From fa16d2a17127abe9bd7adfbd4e95150456c6cdf5 Mon Sep 17 00:00:00 2001 From: Martin Packman Date: Wed, 18 Nov 2020 12:30:55 +0000 Subject: [PATCH] Add markdown to media_types Per RFC 7763 "The text/markdown Media Type". --- whitenoise/media_types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/whitenoise/media_types.py b/whitenoise/media_types.py index 6ba167c6..f6c9abf9 100644 --- a/whitenoise/media_types.py +++ b/whitenoise/media_types.py @@ -66,6 +66,7 @@ def default_types(): ".m3u8": "application/vnd.apple.mpegurl", ".m4a": "audio/x-m4a", ".m4v": "video/x-m4v", + ".md": "text/markdown", ".mid": "audio/midi", ".midi": "audio/midi", ".mjs": "text/javascript",