chore: remove unnecessary parts

This commit is contained in:
Jun Kurihara 2023-03-15 17:28:31 +09:00
commit 838de4a7dd
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
2 changed files with 0 additions and 2 deletions

View file

@ -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) {