summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/websockets/handlers/echo-query_v13_wsh.py
blob: 4083c49bc7e6c72785c1bd0e3d16082f9174d95b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/python

from mod_pywebsocket import msgutil, util

def web_socket_do_extra_handshake(request):
    pass

def web_socket_transfer_data(request):
    while True:
        msgutil.send_message(request, request.unparsed_uri.split('?')[1] or '')
        return