diff options
author | Francis Lavoie <lavofr@gmail.com> | 2023-05-16 01:18:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 01:18:13 -0400 |
commit | e8352aef38642c20ff528836b6581094f087eb99 (patch) | |
tree | 804017249d89334cf7d1fe797589a22b35962af1 /caddytest/integration/caddyfile_adapt | |
parent | 36546cd8b92d683942cda5cf5f9d8f58c08ae9b4 (diff) |
headers: Add > Caddyfile shortcut for enabling defer (#5535)
Diffstat (limited to 'caddytest/integration/caddyfile_adapt')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/header.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/header.txt b/caddytest/integration/caddyfile_adapt/header.txt index 34a044d..95c1474 100644 --- a/caddytest/integration/caddyfile_adapt/header.txt +++ b/caddytest/integration/caddyfile_adapt/header.txt @@ -17,6 +17,7 @@ +Link "Foo" +Link "Bar" } + header >Set Defer } ---------- { @@ -136,6 +137,17 @@ ] } } + }, + { + "handler": "headers", + "response": { + "deferred": true, + "set": { + "Set": [ + "Defer" + ] + } + } } ] } |