HTTPHdrAction

HTTPHdrAction
HTTPHdrAction
JSON Example
{
    "action": "string",
    "cookie": {
        "name": "string",
        "value": "string"
    },
    "hdr": {
        "name": "string",
        "value": {
            "is_sensitive": false,
            "val": "string",
            "var": "string"
        }
    },
    "hdr_index": 0
}
string
action
Required

ADD A new header with the new value is added irrespective of the existence of an HTTP header of the given name. REPLACE A new header with the new value is added if no header of the given name exists, else existing headers with the given name are removed and a new header with the new value is added. REMOVE All the headers of the given name are removed. Enum options - HTTP_ADD_HDR, HTTP_REMOVE_HDR, HTTP_REPLACE_HDR. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- HTTP_REMOVE_HDR,HTTP_REPLACE_HDR), Basic edition(Allowed values- HTTP_REMOVE_HDR,HTTP_REPLACE_HDR), Enterprise with Cloud Services edition.

cookie
Optional

cookie

hdr
Optional

hdr

integer As uint32 As uint32
hdr_index
Optional

Index to identify the header actions. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.