def METHOD_NAME(self):
    self.make_request_and_assert_no_warn(
        create_headers(x_content_type_options="nosniff")
    )
    self.make_request_and_maybe_assert_warn(
        create_headers(x_content_type_options=""),
        'X-Content-Type-Options is required to be "nosniff"',
    )