]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix websocket handshake status line
authorBen Darnell <ben@bendarnell.com>
Sat, 2 Jul 2011 19:37:07 +0000 (12:37 -0700)
committerBen Darnell <ben@bendarnell.com>
Sat, 2 Jul 2011 19:37:07 +0000 (12:37 -0700)
tornado/websocket.py

index 42f312172f1fed764a19a78afc4cf0b6bf93af21..3fcde801f1e9ffa1d2bbd3d62fb2893b9aadecf6 100644 (file)
@@ -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"