webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
class | AbortedByUserException |
class | HandshakeException |
class | VersionException |
Functions | |
def | get_default_port (is_secure) |
def | validate_subprotocol (subprotocol) |
def | parse_host_header (request) |
def | format_header (name, value) |
def | get_mandatory_header (request, key) |
def | validate_mandatory_header (request, key, expected_value, fail_status=None) |
def | check_request_line (request) |
def | parse_token_list (data) |
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.check_request_line | ( | request | ) |
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.format_header | ( | name, | |
value | |||
) |
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.get_default_port | ( | is_secure | ) |
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.get_mandatory_header | ( | request, | |
key | |||
) |
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.parse_host_header | ( | request | ) |
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.parse_token_list | ( | data | ) |
Parses a header value which follows 1#token and returns parsed elements as a list of strings. Leading LWSes must be trimmed.
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.validate_mandatory_header | ( | request, | |
key, | |||
expected_value, | |||
fail_status = None |
|||
) |
def webkitpy.thirdparty.mod_pywebsocket.handshake._base.validate_subprotocol | ( | subprotocol | ) |
Validate a value in the Sec-WebSocket-Protocol field. See the Section 4.1., 4.2.2., and 4.3. of RFC 6455.