Skip to content

Commit

Permalink
Ignore utf8 decoding errors in content
Browse files Browse the repository at this point in the history
  • Loading branch information
newah authored and kevin1024 committed Jul 24, 2020
1 parent 641d9e5 commit 5afa8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcr/stubs/httpx_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _to_serialized_response(httpx_reponse):
"status_code": httpx_reponse.status_code,
"http_version": httpx_reponse.http_version,
"headers": _transform_headers(httpx_reponse),
"content": httpx_reponse.content.decode("utf-8"),
"content": httpx_reponse.content.decode("utf-8", "ignore"),
}


Expand Down

0 comments on commit 5afa8f7

Please sign in to comment.