2011-07-05 Yuta Kitamura <yutak@chromium.org>
[WebKit-https.git] / LayoutTests / http / tests / websocket / tests / hixie76 / send2_wsh.py
1 def web_socket_do_extra_handshake(request):
2     pass # Always accept.
3
4
5 def web_socket_transfer_data(request):
6     # send 2 messages in one packet.
7     request.connection.write("\x00" + "first message" + "\xff" +
8                              "\x00" + "second message" + "\xff")