Add 'ContentType::EventStream' known media type.

The value maps to "text/event-stream".
This commit is contained in:
Sergio Benitez 2021-06-01 11:46:47 -07:00
parent bcd62e5373
commit 78352c787d
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ macro_rules! known_media_types {
MOV (is_mov): "quicktime video", "video", "quicktime",
MP4 (is_mp4): "MPEG4 Video", "video", "mp4",
ZIP (is_zip): "ZIP archive", "application", "zip",
EventStream (is_event_stream): "SSE stream", "text", "event-stream",
})
}