HttpHeaderOption
import type { HttpHeaderOption } from "https://googleapis.deno.dev/v1/compute:v1.ts";
Specification determining how headers are added to requests or responses.
interface HttpHeaderOption {
headerName?: string;
headerValue?: string;
replace?: boolean;
}§Properties
§
replace?: boolean
[src]If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is true, unless a variable is present in headerValue, in which case the default value is false. .