1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 18:02:39 +01:00
actix-web/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`.