mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 18:02:39 +01:00
16 lines
374 B
Markdown
16 lines
374 B
Markdown
# 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`.
|
|
|