def METHOD_NAME(self):
    os.environ["HTTP_RESPONSE_HEADERS"] = json.dumps(
        {
            "Referrer-Policy": "no-referrr-when-downgrade",
            "Access-Control-Allow-Origin": "https://this.is.mydomain.nl",
            "X-Content-Type-Options": "nosniff",
        }
    )
    header_config = nginx._get_http_headers()
    self.assertNotIn(
        (
            "X-XSS-Protection",
            "1; report=https://domainwithnewstyle.tld.consultancy",
        ),
        header_config,
    )