don't send proxy auth to https servers

This commit is contained in:
David Rose 2002-10-29 21:00:58 +00:00
parent 1bdfdb7265
commit 3c159a7bcf
1 changed files with 1 additions and 1 deletions

View File

@ -2198,7 +2198,7 @@ void HTTPChannel::
make_request_text() {
_request_text = _header;
if (!_proxy.empty() &&
if (!_proxy.empty() && !_proxy_tunnel &&
_proxy_auth != (HTTPAuthorization *)NULL && !_proxy_username.empty()) {
_request_text += "Proxy-Authorization: ";
_request_text +=