Add, modify, or delete headers from the request or response.

Hierarchy

  • Headers

Indexable

[k: string]: unknown

Properties

add_response_headers?: HttpResponseHeader | {
    execute_on_shield: boolean;
    headers: HttpResponseHeader;
}
age_response_header?: boolean

if enabled our CDN service will generate an Age header and include it within the response.

debug_header?: boolean

Determines whether a response may include debug cache response headers. These response headers provide information on the cache policy for the requested asset.

remove_origin_response_headers?: string[]

Deletes one or more custom header(s) from the response provided by an origin server.

remove_response_headers?: string[] | {
    execute_on_shield: boolean;
    headers: string[];
}
server_timing_header?: boolean

Reserved for future use.

set_client_ip_custom_header?: string

Adds a custom request header that identifies the requesting client by IP address.

set_origin_response_headers?: HttpResponseHeader
set_request_headers?: HttpRequestHeader | {
    execute_on_shield: boolean;
    headers: HttpRequestHeader;
}
set_response_headers?: HttpResponseHeader | {
    execute_on_shield: boolean;
    headers: HttpResponseHeader;
}

Generated using TypeDoc