From: Ben Darnell Date: Sat, 2 Jul 2011 19:37:07 +0000 (-0700) Subject: Fix websocket handshake status line X-Git-Tag: v2.1.0~136^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=463e3fbcf5d687952b3140cc34a09e5474064c21;p=thirdparty%2Ftornado.git Fix websocket handshake status line --- diff --git a/tornado/websocket.py b/tornado/websocket.py index 42f312172..3fcde801f 100644 --- a/tornado/websocket.py +++ b/tornado/websocket.py @@ -87,7 +87,7 @@ class WebSocketHandler(tornado.web.RequestHandler): # need to see the Upgrade headers before passing through the # non-HTTP traffic that follows. self.stream.write(tornado.escape.utf8( - "HTTP/1.1 101 Web Socket Protocol Handshake\r\n" + "HTTP/1.1 101 WebSocket Protocol Handshake\r\n" "Upgrade: WebSocket\r\n" "Connection: Upgrade\r\n" "Server: TornadoServer/%(version)s\r\n"