HttpHeaderAction
import type { HttpHeaderAction } from "https://googleapis.deno.dev/v1/compute:v1.ts";
The request and response header transformations that take effect before the request is passed along to the selected backendService.
interface HttpHeaderAction {
requestHeadersToAdd?: HttpHeaderOption[];
requestHeadersToRemove?: string[];
responseHeadersToAdd?: HttpHeaderOption[];
responseHeadersToRemove?: string[];
}§Properties
§
requestHeadersToAdd?: HttpHeaderOption[]
[src]Headers to add to a matching request before forwarding the request to the backendService.
§
requestHeadersToRemove?: string[]
[src]A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
§
responseHeadersToAdd?: HttpHeaderOption[]
[src]Headers to add the response before sending the response back to the client.