https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 680b332f79c02e48834c707c2dbc537bdaa2a78a authored by moz-wptsync-bot on 01 November 2018, 16:42:05 UTC
Fix some differences with upstream in wpt tooling
Tip revision: 680b332
handshake_no_protocol_wsh.py
#!/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
back to top