https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f31ef37b39dad03d8ba2fcfff0265c662c3bcd8c authored by Bernard Aboba on 02 April 2018, 17:37:00 UTC
Bring RTCCertificate interface up to date with Candidate Recommendation
Tip revision: f31ef37
echo-query_wsh.py
#!/usr/bin/python

from mod_pywebsocket import msgutil, util

def web_socket_do_extra_handshake(request):
    pass  # Always accept.

def web_socket_transfer_data(request):
    msgutil.send_message(request, request.unparsed_uri.split('?', 1)[1] or '')
back to top