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

from pywebsocket3 import msgutil

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