| Index: LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py b/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py
|
| deleted file mode 100644
|
| index 7c969c8d81eba781594a2b3955d1b3785972691f..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py
|
| +++ /dev/null
|
| @@ -1,15 +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 += 'Sec-WebSocket-Accept: XXXXthisiswrongXXXX\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
|
|
|