Mark,

Thanks I have the codes down, but I shouldn't be getting any error for the
reason being is this is the whole code.

<cfhttp url="#myUrl#" method="get" throwonerror="yes"
proxyserver="#Application.ProxyServer#"
proxyport="#Application.ProxyPort#"></cfhttp> 

<cfcontent type="text/html">
<cfoutput>#cfhttp.FileContent#</cfoutput>

Now as this is also between cftry, its hitting the cfcatch part which means
I also do a check on the type of failure and do the appropriate error
handling, but I need it to not fall into the cfcatch section.

 
Regards
Andrew Scott
Technical Consultant

NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9686 0485  -  Fax: 03 9699 7976


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Mandel
Sent: Friday, 1 April 2005 11:37 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: cfhttp

Just to be helpful - Steve O asked me to pas this through, as he can't get
his emails through to CFAUSSIE:

<cfhttp url="http://www.ikea.com.au"; redirect="no"></cfhttp>

returns status code "302 Moved Temporarily"

or 

CFHTTP.responseHeader.status_code returns "302"

if its not a redirect CFHTTP.responseHeader.status_code returns "200"

Steve

- 


On Fri, 1 Apr 2005 11:24:51 +1000, Mark Mandel <[EMAIL PROTECTED]>
wrote:
> In which case, I'll shut the hell up with my clever comments ;o)
> 
> Sorry - it's a Friday.
> 
> Mark
> 
> 


--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe
send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/




---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to