• Michael W. Hudson's avatar
    backport jhylton's checkin of · 7ac03032
    Michael W. Hudson yazdı
        revision 1.45 of httplib.py
    
    SF bug report #405939: wrong Host header with proxy
    
    In August, Greg said this looked good, so I'm going ahead with it.
    
    The fix is different from the one in the bug report.  Instead of using
    a regular expression to extract the host from the url, I use
    urlparse.urlsplit.
    
    Martin commented that the patch doesn't address URLs that have basic
    authentication username and password in the header.  I don't see any
    code anywhere in httplib that supports this feature, so I'm not going
    to address it for this fix.
    
    Bug fix candidate.
    7ac03032
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...