mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-24 07:46:03 +00:00
refine code
This commit is contained in:
parent
588364d060
commit
e6360d83a7
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ impl HttpConnection {
|
|||
// [RFC-9112](https://datatracker.ietf.org/doc/html/rfc9112#body.content-length)
|
||||
|
||||
// Transfer-Encoding isn't supported yet
|
||||
if headers_map.get(&UniCase::new(TRANSFER_ENCODING)).is_some() {
|
||||
if headers_map.contains_key(&UniCase::new(TRANSFER_ENCODING)) {
|
||||
unimplemented!("Header Transfer-Encoding not supported");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue