求助,新手学delphi 这段代码 完全没看懂。求大神帮俺解释下。
Response2 := TStringStream.Create('');idhttp1.Head(edit1.text);
idhttp1.Request.ContentType := 'application/x-www-form-urlencoded'; Response2 := TStringStream.Create('');//创建一个TStringStream类
idhttp1.Head(edit1.text); //请求url页面的首部,一般用于获取资源的基本信息,如下载的文件大小等
idhttp1.Request.ContentType := 'application/x-www-form-urlencoded'; //设置协议头的ContentType属性
谢谢大神。 Delphi各版本以及控
页:
[1]