N
nchan
Unregistered / Unconfirmed
GUEST, unregistred user!
var
PostInfo: TStrings;
begin
try
PostInfo:=TstringList.Create;
idhttp1.ProtocolVersion := pv1_1;
idhttp1.Post('http://www.xxx.com/Default.aspx',Postinfo);
finally
PostInfo.Free;
end;
end;
用sniffer工具发现送出的是 POST /Default.aspx HTTP/1.0,
而用IE发送的是POST /Default.aspx HTTP/1.1
PostInfo: TStrings;
begin
try
PostInfo:=TstringList.Create;
idhttp1.ProtocolVersion := pv1_1;
idhttp1.Post('http://www.xxx.com/Default.aspx',Postinfo);
finally
PostInfo.Free;
end;
end;
用sniffer工具发现送出的是 POST /Default.aspx HTTP/1.0,
而用IE发送的是POST /Default.aspx HTTP/1.1