From ab92764840f85eff522cd454d5a2706ead2d16e7 Mon Sep 17 00:00:00 2001 From: Carlo Costino Date: Thu, 3 Aug 2023 11:13:18 -0400 Subject: [PATCH] Remove unused HTTP response header See https://github.com/wntrblm/flask-talisman/issues/27 for more details Signed-off-by: Carlo Costino --- tests/app/main/views/test_headers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/app/main/views/test_headers.py b/tests/app/main/views/test_headers.py index 77fa3b495..5869d3cf0 100644 --- a/tests/app/main/views/test_headers.py +++ b/tests/app/main/views/test_headers.py @@ -11,7 +11,6 @@ def test_owasp_useful_headers_set( assert response.headers['X-Frame-Options'] == 'deny' assert response.headers['X-Content-Type-Options'] == 'nosniff' - assert response.headers['X-XSS-Protection'] == '1; mode=block' csp = response.headers['Content-Security-Policy'] assert search(r"default-src 'self' static\.example\.com;", csp) assert search(r"frame-ancestors 'none';", csp)