A small refactoring

master
sta 11 years ago
parent 93137666f7
commit 6c8c4759c4

@ -622,7 +622,7 @@ namespace WebSocketSharp
return response.IsRedirect return response.IsRedirect
? "Indicates the redirection." ? "Indicates the redirection."
: response.IsUnauthorized : response.IsUnauthorized
? "Requires the HTTP authentication." ? "Requires the authentication."
: !response.IsWebSocketResponse : !response.IsWebSocketResponse
? "Not a WebSocket connection response." ? "Not a WebSocket connection response."
: !validateSecWebSocketAcceptHeader (headers["Sec-WebSocket-Accept"]) : !validateSecWebSocketAcceptHeader (headers["Sec-WebSocket-Accept"])

Loading…
Cancel
Save