def METHOD_NAME(response):
    # hack the content type
    parts = response.parts()
    assert len(parts) == 2
    parts0 = parts[0]
    assert parts0.status_code == 202
    assert parts0.headers["x-ms-fun"] == "true"
    parts1 = parts[1]
    assert parts1.status_code == 404
    assert parts1.headers["x-ms-fun"] == "true"