summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration/caddyfile_adapt')
-rw-r--r--caddytest/integration/caddyfile_adapt/header.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/header.txt b/caddytest/integration/caddyfile_adapt/header.txt
index 223839e..34a044d 100644
--- a/caddytest/integration/caddyfile_adapt/header.txt
+++ b/caddytest/integration/caddyfile_adapt/header.txt
@@ -13,6 +13,10 @@
header @images {
Cache-Control "public, max-age=3600, stale-while-revalidate=86400"
}
+ header {
+ +Link "Foo"
+ +Link "Bar"
+ }
}
----------
{
@@ -121,6 +125,17 @@
]
}
}
+ },
+ {
+ "handler": "headers",
+ "response": {
+ "add": {
+ "Link": [
+ "Foo",
+ "Bar"
+ ]
+ }
+ }
}
]
}