English

Google App Engine

The HttpRequestState Class

Experimental!

ProtoRPC is an experimental, innovative, and rapidly changing new feature for App Engine. Unfortunately, being on the bleeding edge means that we may make backwards-incompatible changes to ProtoRPC. We will inform the community when this feature is no longer experimental.

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 ProtoRPC 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.