actix / actix-web

Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
https://actix.rs
Apache License 2.0
21.6k stars 1.67k forks source link

Invalid response with compression middleware enabled, but compression-related features disabled #997

Closed roman-holovin closed 5 years ago

roman-holovin commented 5 years ago

With Cargo.toml like this one

[dependencies]
actix-web = { version = "1.0", default-features = false, features = ["fail"] }

It is possible to use actix-web::middleware::Compress, but making requests with compression enabled will result in error like this one:

curl: (61) Error while processing content unencoding: incorrect header check
fafhrd91 commented 5 years ago

fixed in master. i will release new actix-http later this week