代理服务器使用的是MS Proxy 2.0 IdHttp1.Request.ProxyServer := '10.1.0.1';
IdHttp1.Request.ProxyPort := 80;
IdHttp1.Request.ProxyUsername := 'abc';
IdHttp1.Request.ProxyPassword := '123'; psUrl:='http://www.sohu.com';
s:=IdHttp1.Get(psUrl);
这样写后,返回407错误!
IdHttp1.Request.ProxyPort := 80;
IdHttp1.Request.ProxyUsername := 'abc';
IdHttp1.Request.ProxyPassword := '123'; psUrl:='http://www.sohu.com';
s:=IdHttp1.Get(psUrl);
这样写后,返回407错误!
HTTP.Request.ProxyServer := '10.1.0.1';
http.Request.ProxyUsername:='renzy';
http.Request.ProxyPassword:='111';
HTTP.Request.ProxyPort := 8080;
// http.Request.ProxyAuthenticate:='';
HTTP.Request.ContentType := edContentType.Text;
* Proxy autoconfig file for Netscape Navigator
* Generated by iPlanet Web Proxy Server 3.6
* Generated on Fri Apr 11 16:29:09 2003