rama::http::layer

Module compress_adapter

Expand description

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

Structs§

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