mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 11:31:09 +00:00
remove chunked encoding header for websockets
This commit is contained in:
parent
4df1cd78b7
commit
13cf5a9e44
1 changed files with 0 additions and 1 deletions
|
@ -210,7 +210,6 @@ pub fn handshake_response(req: &RequestHead) -> ResponseBuilder {
|
||||||
|
|
||||||
Response::build(StatusCode::SWITCHING_PROTOCOLS)
|
Response::build(StatusCode::SWITCHING_PROTOCOLS)
|
||||||
.upgrade("websocket")
|
.upgrade("websocket")
|
||||||
.insert_header((header::TRANSFER_ENCODING, "chunked"))
|
|
||||||
.insert_header((
|
.insert_header((
|
||||||
header::SEC_WEBSOCKET_ACCEPT,
|
header::SEC_WEBSOCKET_ACCEPT,
|
||||||
// key is known to be header value safe ascii
|
// key is known to be header value safe ascii
|
||||||
|
|
Loading…
Reference in a new issue