[Python-bugs-list] [ python-Bugs-698374 ] urllib2 Request.get_host and proxies

SourceForge.net noreply@sourceforge.net
Wed, 05 Mar 2003 15:46:07 -0800


Bugs item #698374, was opened at 2003-03-05 23:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=698374&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2 Request.get_host and proxies

Initial Comment:
I think the Request.get_host method should not return  
the host of the proxy in the case where a proxy has  
been set.  There should be a separate method for  
returning the proxy's hostname.  I'm baffled as to why  
someone thought a request's host is its proxy's host!  
Am I missing something?  
  
Note that this bug is related to 413135 -- should both  
be fixed simultaneously.  
  
I'll upload a patch eventually.  
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=698374&group_id=5470