[Python-bugs-list] [ python-Bugs-637789 ] httplib doesn't know proxy-connection
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 13 Nov 2002 09:30:59 -0800
Bugs item #637789, was opened at 2002-11-13 14:35
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=637789&group_id=5470
Category: Python Library
Group: Python 2.2.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Chih-Chung Chang (jochang)
Assigned to: Jeremy Hylton (jhylton)
Summary: httplib doesn't know proxy-connection
Initial Comment:
HTTPResponse uses the 'connection' header to determine keep-alive
or not, but when talking to a proxy server, the 'proxy-connection' header
might be used instead. After checking for the 'connection' header, we
should also check the 'proxy-connection' header like this:
conn = self.msg.getheader('Proxy-Connection')
if conn.find('keep-alive') != -1:
self.will_close = False
----------------------------------------------------------------------
>Comment By: Jeremy Hylton (jhylton)
Date: 2002-11-13 17:30
Message:
Logged In: YES
user_id=31392
Fixed in rev 1.68 of httplib.py.
----------------------------------------------------------------------
Comment By: Jeremy Hylton (jhylton)
Date: 2002-11-13 17:13
Message:
Logged In: YES
user_id=31392
Right.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=637789&group_id=5470