]> git.ipfire.org Git - thirdparty/tornado.git/commit
Relax restrictions on HTTP methods in WebSocketHandler.
authorBen Darnell <ben@bendarnell.com>
Mon, 16 Jun 2014 03:35:02 +0000 (23:35 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 16 Jun 2014 03:35:02 +0000 (23:35 -0400)
commit66b06d7cf351ff0ce2c70bf1cf29a033e17b56f3
tree42d6a5f2f3ebfccbd99491e02d8d11cde659dd7b
parentd100cdf71d7d9a1ede22e171199a550c61a66336
Relax restrictions on HTTP methods in WebSocketHandler.

Methods like set_status are now disallowed once the websocket handshake
has begun, but may be used before then.  This applies to application
overrides of prepare() and to WebSocketHandler.get's internal error
handling.

Closes #1065.
tornado/test/websocket_test.py
tornado/websocket.py