commit | 807225bb024154a399bcfe1a3b2bb34c31f27131 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Wed Jan 13 18:00:13 2021 +0100 |
committer | Akron <nils@diewald-online.de> | Thu Jan 28 12:15:08 2021 +0100 |
tree | 1b47210c8ba47ec6c956616d2a9173e595a73e0f | |
parent | 1bee5a48cecf17105556103d908a737526f6539d [diff] [blame] |
Send 'nosniff' header (fixes #97) Change-Id: If9670a66a9402da77616a362ceda8ea47aceaa75
diff --git a/t/page.t b/t/page.t index 4339f4e..68e2c25 100644 --- a/t/page.t +++ b/t/page.t
@@ -31,6 +31,7 @@ ->header_like('Content-Security-Policy', qr!nonce-!) ->content_like(qr/<script nonce/) ->content_like(qr/document\.body\.classList\.remove\(\'no-js\'\);/) + ->header_is('X-Content-Type-Options', 'nosniff') ; # Test additions