mirror of
https://github.com/actix/actix-web.git
synced 2024-11-25 19:11:10 +00:00
do not com press upgrade connection
This commit is contained in:
parent
559b1c50a3
commit
e4f8551cba
1 changed files with 1 additions and 0 deletions
|
@ -459,6 +459,7 @@ impl PayloadEncoder {
|
|||
} else {
|
||||
resp.headers.insert(CONNECTION, HeaderValue::from_static("upgrade"));
|
||||
}
|
||||
encoding = ContentEncoding::Identity;
|
||||
TransferEncoding::eof()
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue