diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-02-08 00:29:20 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-02-08 00:29:20 (GMT) |
commit | f72d9fb02f2ff536c64f1e65780b4a414eb3bb4d (patch) | |
tree | 1c5bfc6cfd2d2b6208fabcb72453cc34968116a0 /Lib | |
parent | ded0c033c2848eeeccddf3c7e4f837c9e217f692 (diff) | |
download | cpython-f72d9fb02f2ff536c64f1e65780b4a414eb3bb4d.zip cpython-f72d9fb02f2ff536c64f1e65780b4a414eb3bb4d.tar.gz cpython-f72d9fb02f2ff536c64f1e65780b4a414eb3bb4d.tar.bz2 |
revert 69416; it didn't help much
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/http/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 03aef47..f816d58 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -272,7 +272,7 @@ class HTTPResponse: # applies to HTTP/1.1 connections.) This will happen if a self.fp.read() # is done (without a size) whether self.fp is buffered or not. # So, no self.fp.read() by clients unless they know what they are doing. - self.fp = sock.makefile(sock, "rb") + self.fp = sock.makefile("rb") self.debuglevel = debuglevel self.strict = strict self._method = method |