Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f72d9fb

Browse files
committed
revert 69416; it didn't help much
1 parent ded0c03 commit f72d9fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/http/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def __init__(self, sock, debuglevel=0, strict=0, method=None):
272272
# applies to HTTP/1.1 connections.) This will happen if a self.fp.read()
273273
# is done (without a size) whether self.fp is buffered or not.
274274
# So, no self.fp.read() by clients unless they know what they are doing.
275-
self.fp = sock.makefile(sock, "rb")
275+
self.fp = sock.makefile("rb")
276276
self.debuglevel = debuglevel
277277
self.strict = strict
278278
self._method = method

0 commit comments

Comments
 (0)