Skip to content

Commit

Permalink
Add application/zstd (Zstandard) (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlindenkreuz authored Jul 4, 2024
1 parent f5f1674 commit 16a4246
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mime.ex
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ defmodule MIME do
"application/xhtml+xml" => ["xhtml"],
"application/xml" => ["xml"],
"application/zip" => ["zip"],
"application/zstd" => ["zst"],
"audio/3gpp" => ["3gp"],
"audio/3gpp2" => ["3g2"],
"audio/aac" => ["aac"],
Expand Down Expand Up @@ -153,7 +154,8 @@ defmodule MIME do
"gzip" => ["gz"],
"json" => ["json"],
"xml" => ["xml"],
"zip" => ["zip"]
"zip" => ["zip"],
"zstd" => ["zst"]
}

custom_suffixes = Application.compile_env(:mime, :suffixes, %{})
Expand Down

0 comments on commit 16a4246

Please sign in to comment.