diff options
Diffstat (limited to 'testing/web-platform/tests/websockets/handlers/invalid_wsh.py')
-rwxr-xr-x | testing/web-platform/tests/websockets/handlers/invalid_wsh.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/websockets/handlers/invalid_wsh.py b/testing/web-platform/tests/websockets/handlers/invalid_wsh.py new file mode 100755 index 000000000..886e970b8 --- /dev/null +++ b/testing/web-platform/tests/websockets/handlers/invalid_wsh.py @@ -0,0 +1,9 @@ +#!/usr/bin/python + +from mod_pywebsocket import msgutil + +def web_socket_do_extra_handshake(request): + request.connection.write("FOO BAR BAZ\r\n\r\n") + +def web_socket_transfer_data(request): + pass |