Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / websocket / fragmented-control-frame_wsh.py
bloba016e77d26c1432bd9fa9b72d98ae3fd7d2ff916
1 from mod_pywebsocket import common
2 from mod_pywebsocket import msgutil
3 from mod_pywebsocket import stream
6 def web_socket_do_extra_handshake(request):
7 pass
10 def web_socket_transfer_data(request):
11 # Fragmented control frame is prohibited. The client must abort the connection.
12 request.connection.write(stream.create_text_frame('This message should be ignored.', opcode=common.OPCODE_PING, fin=0))