mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-24 22:37:35 +02:00
content-encoding; try cargo tarpaulin
This commit is contained in:
@ -6,8 +6,7 @@
|
||||
- [Handler](./qs_4.md)
|
||||
- [Resources and Routes](./qs_5.md)
|
||||
- [Application state](./qs_6.md)
|
||||
- [Request](./qs_7.md)
|
||||
- [Response](./qs_8.md)
|
||||
- [Request & Response](./qs_7.md)
|
||||
- [WebSockets](./qs_9.md)
|
||||
- [User sessions](./qs_10.md)
|
||||
- [Logging](./qs_11.md)
|
||||
|
@ -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`.
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
# Response
|
Reference in New Issue
Block a user