From: Benjamin Peterson Date: Sun, 8 Feb 2009 00:29:20 +0000 (+0000) Subject: revert 69416; it didn't help much X-Git-Tag: v3.1a1~239 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f72d9fb02f2ff536c64f1e65780b4a414eb3bb4d;p=thirdparty%2FPython%2Fcpython.git revert 69416; it didn't help much --- diff --git a/Lib/http/client.py b/Lib/http/client.py index 03aef474fa5e..f816d58cfd11 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