H hfeng Unregistered / Unconfirmed GUEST, unregistred user! 2009-02-26 #1 如题:在DELPHI中是否有类似jsp中的 response.setHeader("名称","值"); 在Delphi中如何实现相同的功能,希望哪位大侠不吝赐教,先谢了~~~~
轻 轻舞肥羊 Unregistered / Unconfirmed GUEST, unregistred user! 2009-02-26 #2 WINAPI有这样的功能啊,比如用WinInet函数 AStr := "名称=值"; HttpAddRequestHeaders( hRequest, PChar(AStr), Length(AStr), 1 );
WINAPI有这样的功能啊,比如用WinInet函数 AStr := "名称=值"; HttpAddRequestHeaders( hRequest, PChar(AStr), Length(AStr), 1 );
草 草原骏马 Unregistered / Unconfirmed GUEST, unregistred user! 2009-02-27 #3 Delphi近几年的版本,不清楚。以前的版本是没有封装这个类的。但你可以调用API
H hfeng Unregistered / Unconfirmed GUEST, unregistred user! 2009-03-03 #4 var TargetFrameName,PostData, Heads,Flags : OleVariant; URL:String;begin TargetFrameName:= ''; PostData:= false; Heads:= ('键:值'); Flags:= 0; with WebBrowser do begin navigate(URL,Flags,TargetFrameName,PostData,Heads); end;end;
var TargetFrameName,PostData, Heads,Flags : OleVariant; URL:String;begin TargetFrameName:= ''; PostData:= false; Heads:= ('键:值'); Flags:= 0; with WebBrowser do begin navigate(URL,Flags,TargetFrameName,PostData,Heads); end;end;