quic-go
quic-go copied to clipboard
http3: only apply Content Encoding for responses that have content
In particular, Content Encoding MUST NOT be applied to CONNECT (and Extended CONNECT) requests: Capsules are not content, and therefore Content Encoding doesn't apply (i.e. they're not gzipped even if gzip is negotiated).