Class HttpRequestContext (1.11.0)

HttpRequestContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)

HTTP request data that is related to a reported error. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.

Attributes

NameDescription
method str
The type of HTTP request, such as GET, POST, etc.
url str
The URL of the request.
user_agent str
The user agent information that is provided with the request.
referrer str
The referrer information that is provided with the request.
response_status_code int
The HTTP response status code for the request.
remote_ip str
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.