[Python-checkins] r69416 - python/branches/py3k/Lib/http/client.py
benjamin.peterson
python-checkins at python.org
Sat Feb 7 23:55:24 CET 2009
Author: benjamin.peterson
Date: Sat Feb 7 23:55:24 2009
New Revision: 69416
Log:
fix typo and test_urllib failures
Modified:
python/branches/py3k/Lib/http/client.py
Modified: python/branches/py3k/Lib/http/client.py
==============================================================================
--- python/branches/py3k/Lib/http/client.py (original)
+++ python/branches/py3k/Lib/http/client.py Sat Feb 7 23:55:24 2009
@@ -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("rb")
+ self.fp = sock.makefile(sock, "rb")
self.debuglevel = debuglevel
self.strict = strict
self._method = method
More information about the Python-checkins
mailing list