]> git.proxmox.com Git - pve-http-server.git/blobdiff - PVE/APIServer/AnyEvent.pm
followup: adapt coding style to surrounding
[pve-http-server.git] / PVE / APIServer / AnyEvent.pm
index 277a1ec34778c47eb519b87996cbf3fa2315b882..468edb441ebebab0ed742b78c6733917857e3167 100755 (executable)
@@ -184,7 +184,7 @@ sub response {
     $reqstate->{hdl}->timeout_reset();
     $reqstate->{hdl}->timeout($self->{timeout});
 
-    $nocomp = !$self->{compression};
+    $nocomp = 1 if !$self->{compression};
     $nocomp = 1 if !$reqstate->{accept_gzip};
 
     my $code = $resp->code;