Skip to content

Commit

Permalink
Update src/server/mod.rs
Browse files Browse the repository at this point in the history
Remove padding whitespace.
  • Loading branch information
pepoviola authored and jbr committed Jan 21, 2021
1 parent 5887b3e commit 81687df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ where

let connection_header_is_upgrade = connection_header_as_str
.split(',')
.any(|s| s.trim().eq_ignore_ascii_case("upgrade"));
.any(|s| s.trim().eq_ignore_ascii_case("upgrade"));
let mut close_connection = connection_header_as_str.eq_ignore_ascii_case("close");

let upgrade_requested = has_upgrade_header && connection_header_is_upgrade;
Expand Down

0 comments on commit 81687df

Please sign in to comment.