# Class HttpResponse (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.2 1.11.0 1.10.1 1.9.5 1.8.0 1.7.3 1.6.1 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.2 0.1.0

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

The proto definition of http response.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `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` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/apigeeconnect/latest/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. |