@override_settings(SECURE_CONTENT_TYPE_NOSNIFF=False)
    def test_content_type_off(self):
        self.assertNotIn("x-content-type-options", self.process_response())
With CONTENT_TYPE_NOSNIFF False, the middleware does not add an
dataset/ETHPy150Open django/django/tests/middleware/test_security.py/SecurityMiddlewareTest.test_content_type_off