diff --git a/PVE/HTTPServer.pm b/PVE/HTTPServer.pm index 6911b101..0ba99f76 100755 --- a/PVE/HTTPServer.pm +++ b/PVE/HTTPServer.pm @@ -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"; }