tests/test-hgweb-csp.t
branchstable
changeset 37828 3e3acf5d6a07
parent 37826 d105bbb74658
child 50725 7e5be4a7cda7
--- a/tests/test-hgweb-csp.t	Mon Apr 30 17:22:20 2018 -0700
+++ b/tests/test-hgweb-csp.t	Mon Apr 30 17:28:59 2018 -0700
@@ -57,8 +57,8 @@
   $ get-with-headers.py --twice --headeronly localhost:$HGPORT repo1/static/style.css content-security-policy
   200 Script output follows
   content-security-policy: script-src https://example.com/ 'unsafe-inline'
-  500 Internal Server Error
-  [1]
+  304 Not Modified
+  content-security-policy: script-src https://example.com/ 'unsafe-inline'
 
 repo page should send CSP by default, include etag w/o nonce