1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 01:31:57 +02:00

content-encoding; try cargo tarpaulin

This commit is contained in:
Nikolay Kim
2017-12-02 11:41:20 -08:00
parent 0fc01c48d1
commit d0b9d9c1d6
4 changed files with 32 additions and 17 deletions

View File

@@ -1 +1,15 @@
# Request
# 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`.