
Cloud Vulnerability DB
A community-led vulnerabilities database
When dynamic compression is enabled (the default), responses without a body such as 304 Not Modified, 412, 416 and the trailing-slash 308 redirect are passed through the compressor. They receive a Content-Encoding header that does not describe any content, and over HTTP/2 the 304 additionally carries a small compressed empty body.
The compression step skips responses based on the method, Content-Range, the content type and a minimum Content-Length, but never on the status code. A 304 has neither a content type nor a length, so it is encoded. RFC 9110 states that a 304 cannot contain content, and RFC 9111 instructs caches to update the stored response's header fields from a 304. A cache that stored the identity representation and then receives Content-Encoding: gzip on the revalidation may relabel its stored bytes as gzip.
If-None-Match: <its ETag> and Accept-Encoding: gzip.ETag, use If-Modified-Since: <its Last-Modified> instead.304 response carries Content-Encoding: gzip; over HTTP/2 the stream also carries a 20-byte DATA frame and clients such as curl report a protocol error.A client can make a shared cache (CDN or reverse-proxy cache) revalidate an entry in a way that leaves it mislabelled, so other users receive identity bytes announced as gzip and the resource fails to load until the entry expires. Whether a given cache applies the header update varies by product. Over HTTP/2 every conditional revalidation with compression enabled fails outright.
--compression=false) when SWS sits behind a shared cache, or have the proxy drop Content-Encoding from 304 responses.1xx, 204, 304 and any response without a body; never add Content-Encoding to a bodiless response.--compression-static).Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."