From f88b68eab73086a252c8ce789827e49144ce4bd3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 13 Oct 2016 15:40:51 +0200 Subject: make header operations more flexible... needs testing --- src/daq/s5proxy/sample.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/daq/s5proxy/sample.json') diff --git a/src/daq/s5proxy/sample.json b/src/daq/s5proxy/sample.json index 1339fbf..7f5ac66 100644 --- a/src/daq/s5proxy/sample.json +++ b/src/daq/s5proxy/sample.json @@ -7,7 +7,9 @@ "X-hello": "world", "X-verr": "stefan" }, - "response_header": { - "Cache-Control": "no-cache" - } + "response_header": [ + { "op": "set", "header": "Cache-Control", "value": "no-cache" }, + { "op": "add", "header": "Cache-Control", "value": "no-store" }, + { "op": "add", "header": "Cache-Control", "value": "must-revalidate" } + ] } -- cgit v1.2.3