mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-26 15:07:42 +02:00
reduce threshold for content encoding
This commit is contained in:
@ -348,7 +348,7 @@ impl PayloadEncoder {
|
||||
let mut body = resp.replace_body(Body::Empty);
|
||||
let has_body = match body {
|
||||
Body::Empty => false,
|
||||
Body::Binary(ref bin) => bin.len() >= 512,
|
||||
Body::Binary(ref bin) => bin.len() >= 96,
|
||||
_ => true,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user