Skip to content

Commit a75a99a

Browse files
committed
test hiding custom headers
1 parent 6d291c8 commit a75a99a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

t/headers.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ x-frame-options: SAMEORIGIN
8383
hide_server_tokens on;
8484
location = /hello {
8585
security_headers on;
86+
add_header via fakeengine;
8687
8788
return 200 "hello world\n";
8889
}
@@ -98,6 +99,7 @@ hello world
9899
x-content-type-options: nosniff
99100
x-frame-options: SAMEORIGIN
100101
!Server
102+
!Via
101103
Referrer-Policy: strict-origin-when-cross-origin
102104
103105

0 commit comments

Comments
 (0)