mirror of
https://github.com/actix/actix-web.git
synced 2024-11-23 01:51:11 +00:00
reduce threshold for content encoding
This commit is contained in:
parent
7bb7adf89c
commit
1cff4619e7
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# Changes
|
||||
|
||||
## 0.3.2 (2018-01-xx)
|
||||
## 0.3.2 (2018-01-21)
|
||||
|
||||
* Fix HEAD requests handling
|
||||
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue