mirror of https://github.com/fafhrd91/actix-web
Fix camel case in encode_headers
This commit is contained in:
parent
ed93dc1b8e
commit
6c9a0a7ebb
|
|
@ -113,7 +113,7 @@ pub(crate) trait MessageType: Sized {
|
||||||
match conn_type {
|
match conn_type {
|
||||||
ConnectionType::Upgrade => {
|
ConnectionType::Upgrade => {
|
||||||
if camel_case {
|
if camel_case {
|
||||||
dst.put_slice(b"Connection: upgrade\r\n")
|
dst.put_slice(b"Connection: Upgrade\r\n")
|
||||||
} else {
|
} else {
|
||||||
dst.put_slice(b"connection: upgrade\r\n")
|
dst.put_slice(b"connection: upgrade\r\n")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue