Commit 447ee6fa authored by Taddeüs Kroes's avatar Taddeüs Kroes

Changed HTTP status message

parent 7c8972d4
...@@ -212,7 +212,7 @@ class ServerHandshake(Handshake): ...@@ -212,7 +212,7 @@ class ServerHandshake(Handshake):
location = '%s://%s%s' % (scheme, host, self.wsock.location) location = '%s://%s%s' % (scheme, host, self.wsock.location)
# Construct HTTP response header # Construct HTTP response header
yield 'HTTP/1.1 101 Web Socket Protocol Handshake' yield 'HTTP/1.1 101 Switching Protocols'
yield 'Upgrade', 'websocket' yield 'Upgrade', 'websocket'
yield 'Connection', 'Upgrade' yield 'Connection', 'Upgrade'
yield 'Sec-WebSocket-Origin', origin yield 'Sec-WebSocket-Origin', origin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment