The HttpRequestState Class

The HttpRequestState class requests state information about an HTTP request.

Note: This class does not represent information, such as query strings and HTTP version, that is not permitted in Google Protocol RPC URLs. It does include the properties listed below, as well as server name and port, request ip, and remote host-name (if applicable).

HttpRequestState has the following properties:

headers
wsgi.headers.Headers instance of HTTP request headers.
http_method
The HTTP method (GET, POST, etc.) as a string.
service_path
Path on an HTTP service where the service is mounted. This path does not include the remote method name.