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.
本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
App Engine standard environment for Python 2