Skip to content

Commit

Permalink
Merge pull request #139 from Vekhir/patch-1
Browse files Browse the repository at this point in the history
Match `application/x-bzip2`
  • Loading branch information
kpcyrd authored Oct 11, 2023
2 parents 7afb25d + be3e43e commit 72c79ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/src/decompress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub fn detect_compression(bytes: &[u8]) -> CompressedWith {
match mime {
"application/gzip" => CompressedWith::Gzip,
"application/x-bzip" => CompressedWith::Bzip2,
"application/x-bzip2" => CompressedWith::Bzip2,
"application/x-xz" => CompressedWith::Xz,
"application/zstd" => CompressedWith::Zstd,
_ => CompressedWith::Unknown,
Expand Down

0 comments on commit 72c79ef

Please sign in to comment.