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

This commit is contained in:
remitamine 2017-05-19 14:28:35 +02:00 committed by Serhiy Storchaka
parent c7b3f0fc3b
commit a632d00a1c
1 changed files with 0 additions and 1 deletions

View File

@ -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