Index: LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py |
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py b/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py |
deleted file mode 100644 |
index 48acdc1884221eeafcf6c4f6e824faef3d9a5ed4..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py |
+++ /dev/null |
@@ -1,14 +0,0 @@ |
-from mod_pywebsocket import handshake |
- |
- |
-def web_socket_do_extra_handshake(request): |
- message = 'HTTP/1.1 101 Switching Protocols\r\n' |
- message += 'Upgrade: websocket\r\n' |
- message += 'Connection: Upgrade\r\n' |
- message += '\r\n' |
- request.connection.write(message) |
- raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message. |
- |
- |
-def web_socket_transfer_data(request): |
- pass |