mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove duplicate line in Lib/http/client.py (#1665)
This commit is contained in:
parent
c7b3f0fc3b
commit
a632d00a1c
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue