The gzip middleware is used to support the Accept-Encoding: gzip
header and to compress and decompress the contents of the
outgoing/incoming requests.
- MDN link
{% 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.