Module compress_adapter

Module compress_adapter 

Available on crate features http and compression only.
Expand description

Middleware to adapt the server compression to something the client supports, if anything at all.

Structs§

CompressAdaptLayer
Layer which tracks the original ‘Accept-Encoding’ header and compares it with the server ‘Content-Encoding’ header, to adapt the response if needed.
CompressAdaptService
Service which tracks the original ‘Accept-Encoding’ header and compares it with the server ‘Content-Encoding’ header, to adapt the response if needed.