trisquel-icecat/icecat/testing/web-platform/tests/websockets/security/check.py

2 lines
104 B
Python

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