Merge remote branch 'dlo/master'

This commit is contained in:
Ben Darnell 2010-05-09 18:54:34 -07:00
commit e8dec4d0b0
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ class WebSocketHandler(tornado.web.RequestHandler):
def _on_end_delimiter(self, callback, frame):
callback(frame[:-1].decode("utf-8", "replace"))
self.receive_message(callback)
def _not_supported(self, *args, **kwargs):
raise Exception("Method not supported for Web Sockets")