Commit a632d00a authored by remitamine's avatar remitamine Committed by Serhiy Storchaka

Remove duplicate line in Lib/http/client.py (#1665)

parent c7b3f0fc
......@@ -371,7 +371,6 @@ class HTTPResponse(io.BufferedIOBase):
if self.version == 11:
# An HTTP/1.1 proxy is assumed to stay open unless
# explicitly closed.
conn = self.headers.get("connection")
if conn and "close" in conn.lower():
return True
return False
......
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