99 lines
2.0 KiB
JSON
99 lines
2.0 KiB
JSON
{
|
|
"status": 200,
|
|
"body": {
|
|
"rules": [
|
|
{
|
|
"actions": [],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-request-2",
|
|
"match": "all",
|
|
"name": "VCL vcl_recv branch line 2",
|
|
"stage": "request",
|
|
"vcl_flow": {
|
|
"branches": [
|
|
{
|
|
"any": [
|
|
[
|
|
{
|
|
"field": "header",
|
|
"name": "X-State",
|
|
"operator": "equals",
|
|
"values": [
|
|
"before"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"any": [
|
|
[]
|
|
]
|
|
}
|
|
],
|
|
"count": 3,
|
|
"group": "g1",
|
|
"index": 0,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [
|
|
{
|
|
"name": "X-State",
|
|
"type": "set_request_header",
|
|
"value": "after"
|
|
}
|
|
],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-request-3",
|
|
"match": "all",
|
|
"name": "VCL vcl_recv line 3",
|
|
"stage": "request",
|
|
"vcl_flow": {
|
|
"count": 3,
|
|
"group": "g1",
|
|
"guards": [
|
|
{
|
|
"branch": 0,
|
|
"entry": 0
|
|
}
|
|
],
|
|
"index": 1,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [
|
|
{
|
|
"name": "X-Wrong",
|
|
"type": "set_request_header",
|
|
"value": "yes"
|
|
}
|
|
],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-request-5",
|
|
"match": "all",
|
|
"name": "VCL vcl_recv line 5",
|
|
"stage": "request",
|
|
"vcl_flow": {
|
|
"count": 3,
|
|
"group": "g1",
|
|
"guards": [
|
|
{
|
|
"branch": 1,
|
|
"entry": 0
|
|
}
|
|
],
|
|
"index": 2,
|
|
"version": 1
|
|
}
|
|
}
|
|
],
|
|
"warnings": []
|
|
}
|
|
}
|