Class HttpResponse (1.5.0)

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

The proto definition of http response.

Attributes

NameDescription
id str
A unique identifier that matches the request ID.
status str
Status of http response, e.g. "200 OK".
status_code int
Status code of http response, e.g. 200.
body bytes
The HTTP 1.1 response body.
headers Sequence[google.cloud.apigeeconnect_v1.types.Header]
The HTTP response headers.
content_length int
Content length records the length of the associated content. The value -1 indicates that the length is unknown. Unless http method is "HEAD", values >= 0 indicate that the given number of bytes may be read from Body.