Skip to content

Commit

Permalink
Fix typo in is_websocket_upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
EricForgy committed Feb 11, 2018
1 parent 4aa53a4 commit 3b027e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebSockets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ end
is_websocket_upgrade(r::HTTP.Message) =
(r isa HTTP.Request && r.method == "GET" || r.status == 101) &&
HTTP.hasheader(r, "Connection", "upgrade") &&
HTTP.hasheader(r, "Upgrade", "webscoket")
HTTP.hasheader(r, "Upgrade", "websocket")


function check_upgrade(http)
Expand Down

0 comments on commit 3b027e3

Please sign in to comment.