Google Cloud Platform

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:

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