summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-03-08 19:35:51 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2002-03-08 19:35:51 +0000
commit8acf1e0e01a841183e61e63bf956494a0517ceed (patch)
tree61c1d6a408189e78d4ec62ffa0ddc5a0930ba465 /Python/bltinmodule.c
parent7dd5f3cf698a7ffb7e532719639c85f81a65dbe8 (diff)
downloadcpython-git-8acf1e0e01a841183e61e63bf956494a0517ceed.tar.gz
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 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions