Kaydet (Commit) ded0c033 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

fix typo and test_urllib failures

üst 8a68122e
......@@ -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("rb")
self.fp = sock.makefile(sock, "rb")
self.debuglevel = debuglevel
self.strict = strict
self._method = method
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment