[Python-bugs-list] [ python-Bugs-637789 ] httplib doesn't know proxy-connection
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 13 Nov 2002 06:35:59 -0800
Bugs item #637789, was opened at 2002-11-13 22: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: Open
Resolution: None
Priority: 5
Submitted By: Chih-Chung Chang (jochang)
Assigned to: Nobody/Anonymous (nobody)
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=637789&group_id=5470