Rocket

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

commit cfdb2a404b8ae1f42d551b200d0555fe2b85c1f9
parent 242b358e37505dbe83b8f29b9df8c374b319e396
Author: jeb <jeb@jebrosen.com>
Date:   Tue, 11 Sep 2018 15:16:06 -0700

Add Icon (image/x-icon) 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 @@ -18,6 +18,7 @@ macro_rules! known_media_types { JPEG (is_jpeg): "JPEG", "image", "jpeg", WEBP (is_webp): "WEBP", "image", "webp", SVG (is_svg): "SVG", "image", "svg+xml", + Icon (is_icon): "Icon", "image", "x-icon", WEBM (is_webm): "WEBM", "video", "webm", OGG (is_ogg): "OGG", "video", "ogg", FLAC (is_flac): "FLAC", "audio", "flac", @@ -49,6 +50,7 @@ macro_rules! known_extensions { "jpg" => JPEG, "webp" => WEBP, "svg" => SVG, + "ico" => Icon, "flac" => FLAC, "wav" => WAV, "webm" => WEBM,