summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-03-08 19:35:51 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-03-08 19:35:51 (GMT)
commit8acf1e0e01a841183e61e63bf956494a0517ceed (patch)
tree61c1d6a408189e78d4ec62ffa0ddc5a0930ba465 /Objects
parent7dd5f3cf698a7ffb7e532719639c85f81a65dbe8 (diff)
downloadcpython-8acf1e0e01a841183e61e63bf956494a0517ceed.zip
cpython-8acf1e0e01a841183e61e63bf956494a0517ceed.tar.gz
cpython-8acf1e0e01a841183e61e63bf956494a0517ceed.tar.bz2
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.
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions