mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
do not com press upgrade connection
This commit is contained in:
parent
559b1c50a3
commit
e4f8551cba
@ -459,6 +459,7 @@ impl PayloadEncoder {
|
|||||||
} else {
|
} else {
|
||||||
resp.headers.insert(CONNECTION, HeaderValue::from_static("upgrade"));
|
resp.headers.insert(CONNECTION, HeaderValue::from_static("upgrade"));
|
||||||
}
|
}
|
||||||
|
encoding = ContentEncoding::Identity;
|
||||||
TransferEncoding::eof()
|
TransferEncoding::eof()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user