2009-12-07 Fumitoshi Ukai <ukai@chromium.org>
[WebKit-https.git] / LayoutTests / websocket / tests / frame-length-longer-than-buffer_wsh.py
1 def web_socket_do_extra_handshake(request):
2   pass
3
4 def web_socket_transfer_data(request):
5   msg = "\0hello\xff"
6   msg += "\x80\x81\x01"  # skip 1*128+1 bytes.
7   msg += "\x01\xff"
8   msg += "\0should be skipped\xff"
9   request.connection.write(msg)
10   print msg