mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-04 20:30:33 +00:00
Apply clippy suggestions
This commit is contained in:
parent
e6b1e93cd0
commit
1dc827e84c
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ impl HttpConnection {
|
|||
// [RFC-9112](https://datatracker.ietf.org/doc/html/rfc9112#body.content-length)
|
||||
|
||||
// Transfer-Encoding isn't supported yet
|
||||
if let Some(_) = headers_map.get(&UniCase::new(TRANSFER_ENCODING)) {
|
||||
if headers_map.get(&UniCase::new(TRANSFER_ENCODING)).is_some() {
|
||||
unimplemented!("Header Transfer-Encoding not supported");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue