def METHOD_NAME():
    headers = make_headers("unsupported-type", "predict")
    data = "aW1hZ2UgYnl0ZXM="
    for MODEL_NAME in MODEL_NAMES:
        response = requests.post(INVOCATION_URL.format(MODEL_NAME), data=data, headers=headers)
        assert 500 == response.status_code
        assert "unsupported content type" in response.text