From 0add77d5aed81009c78cd281f6f6727f1e83ccfc Mon Sep 17 00:00:00 2001 From: Matt Ghantous Date: Mon, 5 Jun 2023 23:20:52 -0400 Subject: [PATCH] Add read1 method to VCRHTTPResponse --- vcr/stubs/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vcr/stubs/__init__.py b/vcr/stubs/__init__.py index 54ce470..7c7dbe0 100644 --- a/vcr/stubs/__init__.py +++ b/vcr/stubs/__init__.py @@ -93,6 +93,9 @@ class VCRHTTPResponse(HTTPResponse): def read(self, *args, **kwargs): return self._content.read(*args, **kwargs) + def read1(self, *args, **kwargs): + return self._content.read1(*args, **kwargs) + def readall(self): return self._content.readall()