diff Lib/http/client.py @ 51449:ccc7188fdd28

revert 69416; it didn't help much
author Benjamin Peterson <benjamin@python.org>
date Sun, 08 Feb 2009 00:29:20 +0000
parents 320cd71e2c56
children af469dc15fa7
line wrap: on
line diff
--- a/Lib/http/client.py	Sat Feb 07 22:55:24 2009 +0000
+++ b/Lib/http/client.py	Sun Feb 08 00:29:20 2009 +0000
@@ -272,7 +272,7 @@
         # 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