summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/websockets/security/check.py
blob: 716b837f4942e9265637671682c71222e5712694 (plain)
1
2
def main(request, response):
    return b"FAIL" if b'Sec-WebSocket-Key' in request.headers else b"PASS"