summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/websockets/handlers/handshake_no_protocol_wsh.py
blob: ffc2ae80effa80962f981891840daebb59e38c70 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/python

def web_socket_do_extra_handshake(request):
    # Trick pywebsocket into believing no subprotocol was requested.
    request.ws_requested_protocols = None

def web_socket_transfer_data(request):
    pass