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

SourceForge.net noreply at sourceforge.net
Sat May 27 18:15:38 CEST 2006


Bugs item #698374, was opened at 2003-03-05 23:46
Message generated for change (Comment added) made by jjlee
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=698374&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
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.  
 

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

>Comment By: John J Lee (jjlee)
Date: 2006-05-27 17:15

Message:
Logged In: YES 
user_id=261020

It would probably cause too much breakage to fix this, so
I'm closing it.

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

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


More information about the Python-bugs-list mailing list