Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 573 Bytes

gzip.md

File metadata and controls

28 lines (19 loc) · 573 Bytes

HTTP — Gzip middleware

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

{% code title=".rr.yaml" %}

version: "3"

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

{% endcode %}

Gzip middleware supports OpenTelemetry headers propagation.