Module compress_adapter
Expand description
Middleware to adapt the server compression to something the client supports, if anything at all.
Structs§
- Compress
Adapt Layer - Layer which tracks the original ‘Accept-Encoding’ header and compares it with the server ‘Content-Encoding’ header, to adapt the response if needed.
- Compress
Adapt Service - Service which tracks the original ‘Accept-Encoding’ header and compares it with the server ‘Content-Encoding’ header, to adapt the response if needed.