Skip to content

Commit

Permalink
[doc] Update tar.bz2 mime type
Browse files Browse the repository at this point in the history
 * Unify the content type of gzip compressed tars to application/x-gtar-compressed
 * Unify the content type of bzip2 compressed tars to application/x-bzip-compressed-tar

Exact reasoning will be provided in the PR.
  • Loading branch information
ToMe25 committed Sep 17, 2024
1 parent 9c3c953 commit 0b0b24c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/scripts/create-mime.conf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,11 @@ sub print_type {

# other useful mappings
my %useful = (
".tgz" => "application/x-gtar-compressed",
".tar.gz" => "application/x-gtar-compressed",
".gz" => "application/gzip",
".tbz" => "application/x-gtar-compressed",
".tar.bz2" => "application/x-gtar-compressed",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar",
".bz2" => "application/x-bzip2",
".log" => "text/plain",
".conf" => "text/plain",
Expand Down

0 comments on commit 0b0b24c

Please sign in to comment.