dhttp进行网站post数据,出现406错误。。请问高手们,该如何解决。如何设置idhttp呢? 在线急等答案!谢谢!!!以下是我对tidhtt组件的一些设置,大家看看下 谢谢!!!
http.Request.Connection:='Keep-Alive';
http.Request.UserAgent:='Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon)';   
http.Request.ContentType:='application/x-www-form-urlencoded';
//http.Request.Referer:='http://www.xxx.com';
http.Request.Accept:='image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*';
http.Request.AcceptLanguage:='zh-cn';
http.Request.AcceptEncoding:='gzip, deflate';
http.Request.CacheControl:='no-cache';
http.ReadTimeout:=60000;
http.HTTPOptions:=[hoInProcessAuth];
http.HTTPOptions:=http.HTTPOptions+[hoKeepOrigProtocol];//设置成http1.1
http.ProtocolVersion:=pv1_1;