chromium/third_party/blink/web_tests/external/wpt/websockets/security/check.py

def main(request, response):
    return b"FAIL" if b'Sec-WebSocket-Key' in request.headers else b"PASS"