rama::http::layer::compression

Module predicate

Expand description

Predicates for disabling compression of responses.

Predicates are applied with Compression::compress_when or CompressionLayer::compress_when.

Structs§

Traits§

  • Predicate used to determine if a response should be compressed or not.