diff --git a/core/http/src/header/known_media_types.rs b/core/http/src/header/known_media_types.rs index bd7b3745..b829fe0c 100644 --- a/core/http/src/header/known_media_types.rs +++ b/core/http/src/header/known_media_types.rs @@ -44,6 +44,7 @@ macro_rules! known_media_types { MP4 (is_mp4): "MPEG4 Video", "video", "mp4", ZIP (is_zip): "ZIP archive", "application", "zip", EventStream (is_event_stream): "SSE stream", "text", "event-stream", + Markdown (is_markdown): "markdown text", "text", "markdown" ; "charset" => "utf-8", }) } @@ -91,6 +92,8 @@ macro_rules! known_extensions { "tiff" => TIFF, "mov" => MOV, "zip" => ZIP, + "md" => Markdown, + "markdown" => Markdown, }) } @@ -110,5 +113,7 @@ macro_rules! known_shorthands { "multipart" => FormData, "xml" => XML, "pdf" => PDF, + "markdown" => Markdown, + "md" => Markdown, }) }