webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, request_handler, use_tls) |
def | get_uri (self) |
def | get_unparsed_uri (self) |
def | get_method (self) |
def | get_protocol (self) |
def | is_https (self) |
Public Attributes | |
connection | |
headers_in | |
Properties | |
uri = property(get_uri) | |
unparsed_uri = property(get_unparsed_uri) | |
method = property(get_method) | |
protocol = property(get_protocol) | |
Mimic mod_python request.
def webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.__init__ | ( | self, | |
request_handler, | |||
use_tls | |||
) |
Construct an instance. Args: request_handler: A WebSocketRequestHandler instance.
def webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.get_method | ( | self | ) |
Getter to mimic request.method.
def webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.get_protocol | ( | self | ) |
Getter to mimic request.protocol.
def webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.get_unparsed_uri | ( | self | ) |
Getter to mimic request.unparsed_uri.
def webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.get_uri | ( | self | ) |
Getter to mimic request.uri. This method returns the raw data at the Request-URI part of the Request-Line, while the uri method on the request object of mod_python returns the path portion after parsing the raw data. This behavior is kept for compatibility.
def webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.is_https | ( | self | ) |
Mimic request.is_https().
webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.connection |
webkitpy.thirdparty.mod_pywebsocket.standalone._StandaloneRequest.headers_in |
|
static |
|
static |
|
static |
|
static |