diff options
author | remitamine <remitamine@gmail.com> | 2017-05-19 12:28:35 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-05-19 12:28:35 (GMT) |
commit | a632d00a1cbb6f4f8978cb45dd9789658cceb7c8 (patch) | |
tree | 2dc8955eb13cc5641afeecd10b9a0d08a0d12aa0 /Lib/http | |
parent | c7b3f0fc3b9213d37a3514a6a1ca6d4c881a6961 (diff) | |
download | cpython-a632d00a1cbb6f4f8978cb45dd9789658cceb7c8.zip cpython-a632d00a1cbb6f4f8978cb45dd9789658cceb7c8.tar.gz cpython-a632d00a1cbb6f4f8978cb45dd9789658cceb7c8.tar.bz2 |
Remove duplicate line in Lib/http/client.py (#1665)
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/client.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 0f66071..bbb3152 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -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 |