Skip to content

Commit

Permalink
Add binary media type (ordinals#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
elocremarc authored Nov 16, 2023
1 parent 93047c7 commit 306352b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/media.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ impl Media {
("application/pdf", BROTLI_MODE_GENERIC, Media::Pdf, &["pdf"]),
("application/pgp-signature", BROTLI_MODE_TEXT, Media::Text, &["asc"]),
("application/protobuf", BROTLI_MODE_GENERIC, Media::Unknown, &["binpb"]),
("application/octet-stream", BROTLI_MODE_GENERIC, Media::Unknown, &["bin"]),
("application/yaml", BROTLI_MODE_TEXT, Media::Code, &["yaml", "yml"]),
("audio/flac", BROTLI_MODE_GENERIC, Media::Audio, &["flac"]),
("audio/mpeg", BROTLI_MODE_GENERIC, Media::Audio, &["mp3"]),
Expand Down

0 comments on commit 306352b

Please sign in to comment.