diff --git a/vcr/stubs/httpx_stubs.py b/vcr/stubs/httpx_stubs.py index 453d3290..0bb3b4a4 100644 --- a/vcr/stubs/httpx_stubs.py +++ b/vcr/stubs/httpx_stubs.py @@ -38,7 +38,7 @@ def _to_serialized_response(httpx_response): "status_code": httpx_response.status_code, "http_version": httpx_response.http_version, "headers": _transform_headers(httpx_response), - "content": httpx_response.content#.decode("utf-8", "ignore"), + "content": httpx_response.content, }