Skip to content

Commit

Permalink
Merge pull request #1296 from asvetlov/master
Browse files Browse the repository at this point in the history
Mention in Sec-WebSocket-Version all versions supported by tornado
  • Loading branch information
bdarnell committed Jan 11, 2015
2 parents 1c58eed + 2e9c43b commit d6e70d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get(self, *args, **kwargs):
if not self.stream.closed():
self.stream.write(tornado.escape.utf8(
"HTTP/1.1 426 Upgrade Required\r\n"
"Sec-WebSocket-Version: 8\r\n\r\n"))
"Sec-WebSocket-Version: 7, 8, 13\r\n\r\n"))
self.stream.close()


Expand Down

0 comments on commit d6e70d0

Please sign in to comment.