Skip to content

Commit 7e9819d

Browse files
xiaobogagaelithrar
authored andcommitted
fix typos (#532)
1 parent ae1634f commit 7e9819d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func (u *Upgrader) Upgrade(w http.ResponseWriter, r *http.Request, responseHeade
153153

154154
challengeKey := r.Header.Get("Sec-Websocket-Key")
155155
if challengeKey == "" {
156-
return u.returnError(w, r, http.StatusBadRequest, "websocket: not a websocket handshake: `Sec-WebSocket-Key' header is missing or blank")
156+
return u.returnError(w, r, http.StatusBadRequest, "websocket: not a websocket handshake: 'Sec-WebSocket-Key' header is missing or blank")
157157
}
158158

159159
subprotocol := u.selectSubprotocol(r, responseHeader)

0 commit comments

Comments
 (0)