def test_explicit_content_type_remove_application_json(server: FakeServer):
(server.
on_("patch", "/games").
response(status=200, json={"change": "content-type"}, content_type="text/plain"))
response = requests.patch(server.base_uri + "/games")
assert response.status_code == 200
assert response.headers["Content-Type"] == "text/plain"
评论列表
文章目录