diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-11-09 05:08:07 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-11-09 05:08:07 (GMT) |
commit | 230a60c6ec4861342278fb4546ebc907baf3b23b (patch) | |
tree | 00135e543b64638036efcacdc9d5dbfde7988959 /Lib/httplib.py | |
parent | b0ead4ea4a1e0f4e5dc2a00110be8038586c9e21 (diff) | |
download | cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.zip cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.tar.gz cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r-- | Lib/httplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index e6dc898..077fb25 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -371,7 +371,7 @@ class HTTPResponse: if self.chunked: return self._read_chunked(amt) - + if amt is None: # unbounded read if self.will_close: @@ -441,7 +441,7 @@ class HTTPResponse: self.close() return value - + def _safe_read(self, amt): """Read the number of bytes requested, compensating for partial reads. |