avoid gzip http response for jar
Java archives (.jar) are simple zip files - already compressed.
This commit is contained in:
parent
0ebf2fa8d9
commit
a49706cb78
@ -277,6 +277,7 @@ sub send_file_start {
|
||||
$nocomp = 1;
|
||||
} elsif ($filename =~ m/\.jar$/) {
|
||||
$ct = 'application/java-archive';
|
||||
$nocomp = 1;
|
||||
} else {
|
||||
die "unable to detect content type";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user