Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 32e2ff4d6b96292953e4b0b0056242046bcd89a0
parent 1bb23b81159c4a63409f1eff2f21a10ee9437a60
Author: Alex Bowers <bowersbros@gmail.com>
Date:   Wed,  7 Nov 2018 16:52:21 +0000

Add ZIP (application/zip) as a known media type.

Diffstat:
Mcore/http/src/known_media_types.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/core/http/src/known_media_types.rs b/core/http/src/known_media_types.rs @@ -39,6 +39,7 @@ macro_rules! known_media_types { GZIP (is_gzip): "gzipped binary", "application", "gzip", MOV (is_mov): "quicktime video", "video", "quicktime", MP4 (is_mp4): "MPEG4 Video", "video", "mp4", + ZIP (is_zip): "ZIP archive", "application", "zip", }) } @@ -84,6 +85,7 @@ macro_rules! known_extensions { "tif" => TIFF, "tiff" => TIFF, "mov" => MOV, + "zip" => ZIP, }) }