chore: remove unnecessary parts
This commit is contained in:
parent
9789c23dcf
commit
838de4a7dd
2 changed files with 0 additions and 2 deletions
|
|
@ -186,7 +186,6 @@ pub(super) fn extract_upgrade(headers: &HeaderMap) -> Option<String> {
|
|||
.to_str()
|
||||
.unwrap_or("")
|
||||
.split(',')
|
||||
.into_iter()
|
||||
.any(|w| w.trim().to_ascii_lowercase() == header::UPGRADE.as_str().to_ascii_lowercase())
|
||||
{
|
||||
if let Some(u) = headers.get(header::UPGRADE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue