mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Whitespace normalization.
This commit is contained in:
parent
b808c5cf2d
commit
77c06fbf94
20 changed files with 13 additions and 36 deletions
|
@ -352,7 +352,7 @@ class HTTPResponse:
|
|||
# For older HTTP, Keep-Alive indiciates persistent connection.
|
||||
if self.msg.getheader('keep-alive'):
|
||||
return False
|
||||
|
||||
|
||||
# Proxy-Connection is a netscape hack.
|
||||
pconn = self.msg.getheader('proxy-connection')
|
||||
if pconn and pconn.lower().find("keep-alive") >= 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue