本文整理自网络,侵删。
服务器要判断浏览器类别
在GET之前,先指定UserAgent参数就行了.
IdHTTP1.Request.UserAgent := 'Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Maxthon)';
相关阅读 >>
Delphi 条件编译语法 $ifdef $else $endif
Delphi xe2 - 万一“获取程序自身大小的函数”改进版
Delphi mediaplayer android 下播放 mp4 的问题
Delphi system.sysutils.tmarshaller 与 system.tmarshal
更多相关阅读请进入《Delphi》频道 >>