This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib2 Request.get_host and proxies
Type: Stage:
Components: None Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jjlee
Priority: normal Keywords:

Created on 2003-03-05 23:46 by jjlee, last changed 2022-04-10 16:07 by admin. This issue is now closed.

Messages (2)
msg14990 - (view) Author: John J Lee (jjlee) Date: 2003-03-05 23:46
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.  
 
msg14991 - (view) Author: John J Lee (jjlee) Date: 2006-05-27 16:15
Logged In: YES 
user_id=261020

It would probably cause too much breakage to fix this, so
I'm closing it.
History
Date User Action Args
2022-04-10 16:07:24adminsetgithub: 38110
2003-03-05 23:46:07jjleecreate