Skip to content

Commit 0b0b24c

Browse files
committed
[doc] Update tar.bz2 mime type
* 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.
1 parent 9c3c953 commit 0b0b24c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/scripts/create-mime.conf.pl

+3-2
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,11 @@ sub print_type {
177177

178178
# other useful mappings
179179
my %useful = (
180+
".tgz" => "application/x-gtar-compressed",
180181
".tar.gz" => "application/x-gtar-compressed",
181182
".gz" => "application/gzip",
182-
".tbz" => "application/x-gtar-compressed",
183-
".tar.bz2" => "application/x-gtar-compressed",
183+
".tbz" => "application/x-bzip-compressed-tar",
184+
".tar.bz2" => "application/x-bzip-compressed-tar",
184185
".bz2" => "application/x-bzip2",
185186
".log" => "text/plain",
186187
".conf" => "text/plain",

0 commit comments

Comments
 (0)