From ac481e68428a4fd5a231669bd3198536b4a1278b Mon Sep 17 00:00:00 2001 From: keepalivesrc <54171259+keepalivesrc@users.noreply.github.com> Date: Wed, 16 Oct 2019 01:04:35 -0700 Subject: [PATCH] fix typos --- external/github.com/gorilla/websocket/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/github.com/gorilla/websocket/server.go b/external/github.com/gorilla/websocket/server.go index 7bcb23b7..cc0121d3 100644 --- a/external/github.com/gorilla/websocket/server.go +++ b/external/github.com/gorilla/websocket/server.go @@ -153,7 +153,7 @@ func (u *Upgrader) Upgrade(w http.ResponseWriter, r *http.Request, responseHeade challengeKey := r.Header.Get("Sec-Websocket-Key") if challengeKey == "" { - return u.returnError(w, r, http.StatusBadRequest, "websocket: not a websocket handshake: `Sec-WebSocket-Key' header is missing or blank") + return u.returnError(w, r, http.StatusBadRequest, "websocket: not a websocket handshake: 'Sec-WebSocket-Key' header is missing or blank") } subprotocol := u.selectSubprotocol(r, responseHeader)