Temporarily disable HTTP response compression
Disable response compression until `Accept-Encoding` headers are properly evaluated, and the compression can be chosen based on the HTTP request. This relies on https://github.com/seanmonstar/warp/pull/513 being implemented.
This commit is contained in:
parent
b68a1814ea
commit
2646ea119e
1 changed files with 0 additions and 2 deletions
|
@ -48,8 +48,6 @@ pub async fn init() -> Result<(), Error> {
|
||||||
.recover(fail::recover)
|
.recover(fail::recover)
|
||||||
// End routes setup
|
// End routes setup
|
||||||
;
|
;
|
||||||
// Enable response compression
|
|
||||||
let net = net.with(warp::compression::gzip());
|
|
||||||
// Specify a generic version header
|
// Specify a generic version header
|
||||||
let net = net.with(head::version());
|
let net = net.with(head::version());
|
||||||
// Specify a generic server header
|
// Specify a generic server header
|
||||||
|
|
Loading…
Reference in a new issue