gzip

The gzip middleware is used to support the Accept-Encoding: gzip header and to compress and decompress the contents of the outgoing/incoming requests.

Documentation

Configuration

.rr.yaml
version: "3"

http:
  address: 127.0.0.1:15389
  middleware: [ gzip ]
  pool:
    num_workers: 10
    allocate_timeout: 60s
    destroy_timeout: 60s

Gzip middleware supports OpenTelemetry headers propagation.

Last updated