def METHOD_NAME(self):
    """
    DSO: API-33 (content type application/x-www-form-urlencoded is not supported)
    """
    invalid_content_types = [
        "application/x-www-form-urlencoded",
        "application/xml",
        "text/html",
    ]
    for ct in invalid_content_types:
        with self.subTest(content_type=ct):
            request = self.factory.put("/foo", data={"foo": "bar"}, content_type=ct)
            response = self._get_response(request=request)
            self.assertEqual(
                response.status_code, status.HTTP_415_UNSUPPORTED_MEDIA_TYPE
            )