Gzipped files are application/x-gzip mime type https://sourceforge.net/p/webadmin/bugs/5003/

This commit is contained in:
Jamie Cameron
2017-07-29 14:53:05 -07:00
parent 67c87bb229
commit 0a98e679e2

View File

@ -47,7 +47,7 @@ else {
&unlink_file($temp);
&error($err);
}
print "Content-type: application/octet-stream\n\n";
print "Content-type: application/x-gzip\n\n";
my $buf;
open(TEMP, $temp);
while(read(TEMP, $buf, 1024)) {