1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-25 00:12:59 +01:00
actix-extras/guide/src/qs_7.md

16 lines
374 B
Markdown
Raw Normal View History

2017-12-02 20:41:20 +01:00
# HttpRequest & HttpResponse
## Content encoding
Actix automatically *compress*/*decompress* payload.
Following encodings are supported:
* Brotli
* Gzip
* Deflate
* Identity
If request headers contains `Content-Encoding` header, request payload get decompressed
according to header value. Multiple codecs are not supported, i.e: `Content-Encoding: br, gzip`.