# Class HttpHeaderAction (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

The request and response header transformations that take
effect before the request is passed along to the selected
backendService.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `request_headers_to_add` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.HttpHeaderOption]` Headers to add to a matching request before forwarding the request to thebackendService. |
| `request_headers_to_remove` | `MutableSequence[str]` A list of header names for headers that need to be removed from the request before forwarding the request to the backendService. |
| `response_headers_to_add` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.HttpHeaderOption]` Headers to add the response before sending the response back to the client. |
| `response_headers_to_remove` | `MutableSequence[str]` A list of header names for headers that need to be removed from the response before sending the response back to the client. |