fix: get upgrade type as lowercase for cases where request and response are not consistent (ex: ttyd)
This commit is contained in:
parent
e73a76600c
commit
8dc6024395
@ -93,7 +93,7 @@ fn get_upgrade_type(headers: &HeaderMap) -> Option<String> {
|
||||
upgrade_value.to_str().unwrap().to_owned()
|
||||
);
|
||||
|
||||
return Some(upgrade_value.to_str().unwrap().to_owned());
|
||||
return Some(upgrade_value.to_str().unwrap().to_lowercase().to_owned());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user