http-rs / http-rs/surf

Middleware: compression

Open
#24 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
1.5k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Using https://docs.rs/async-compression/0.1.0-alpha.1/async_compression/ we should write a middleware that sends `Accept-Encoding` parameters to the server, and decompresses the response.

## Examples
- https://github.com/rustasync/tide/blob/master/tide-compression/src/lib.rs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.