forked from crystal-lang/crystal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebSocket: should compare 'Upgrade' header value with case insensitive (
crystal-lang#4617) RFC 6445, section 4.2.1 says clearly: "An Upgrade header field containing the value "websocket", treated as an ASCII case-insensitive value". https://tools.ietf.org/html/rfc6455#section-4.2.1 And now, we have `String#compare(other, case_insensitive: true)`.
- Loading branch information
1 parent
905e229
commit 58655a0
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters