266
httpPro.URL
httpPro.Get();
app.MessageBox( httpPro.ReceivedHeaderAsString ,"Received HTTP Header",
app.MessageBox(
"URL='
"ProxyUsername='"
"ProxyPassword='"
"Proxy='"
"ProxyPort='"
"ProxyUsername='"
"ProxyPassword='"
"Sender='"
"Agent='"
"Reference='"
"NoCache='"
"ModifiedSince='"
"Cookie='"
"ContentTypePost='" + httpPro.ContentTypePost + "'\n" +
"MultiThreaded='"
"State='"
"ContentLength='"
"ContentType='"
"RcvdCount='"
"SentCount='"
"StatusCode='"
"ReasonPhrase='"
"AuthorizationRequest='"
"DocName='"
"Location='"
,"HTTP Provider Diagnostics", hsOKInfo);
var sOutput = httpPro.ReceivedStreamAsString;
app.activeDocument.Text = sOutput;
}
GetAsync
Syntax
GetAsync();
Description
Performs an HTTP
Head
Syntax
Head();
Description
Performs an HTTP
= "http://www.macromedia.com";
hsOKInfo);
"+ httpPro.URL + "'\n" +
+ httpPro.Username + "'\n" +
+ httpPro.Password + "'\n" +
+ httpPro.Proxy + "'\n" +
+ httpPro.Proxyport + "'\n" +
+ httpPro.ProxyUsername + "'\n" +
+ httpPro.ProxyPassword + "'\n" +
+ httpPro.Sender + "'\n" +
+ httpPro.Agent + "'\n" +
+ httpPro.Reference + "'\n" +
+ httpPro.NoCache + "'\n" +
+ httpPro.ModifiedSince + "'\n" +
+ httpPro.Cookie + "'\n" +
+ httpPro.MultiThreaded + "'\n"+
+ httpPro.State + "'\n"+
+ httpPro.ContentLength + "'\n"+
+ httpPro.ContentType + "'\n"+
+ httpPro.RcvdCount + "'\n"+
+ httpPro.SentCount + "'\n"+
+ httpPro.StatusCode + "'\n"+
+ httpPro.ReasonPhrase + "'\n"+
+ httpPro.DocName + "'\n"+
+ httpPro.Location + "'\n"
method request asynchronously.
GET
method request.
HEAD
Chapter 14 Scripting the Visual Tools Object Model
+ httpPro.AuthorizationRequest + "'\n"+
Need help?
Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?