* Skip compression for bodyless responses (101/204/304)
WebSocket upgrade responses (101 Switching Protocols) were passing all
the compression checks, since they carry no Content-Type, Content-Length,
or Content-Encoding. That caused a bogus Content-Encoding header to be
stamped onto the handshake response. Bail out early for informational
(1xx), 204 No Content, and 304 Not Modified responses.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Fix clippy collapsible_match lint in codec selection
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>