Well, it sort of is an error, because if redirect is set to false,  then 
there actually is no content to return... Most of the information about 
*why* it didn't return content is within the cfhttp variable. I'm thinking 
that anything that doesn't return a status 200 (depening upon the 
attributes passed to the tag) will be classed as an error. 

Darryl Lyons

[EMAIL PROTECTED] wrote on 01/04/2005 01:23:08 PM:

> So a CFHTTP redirect is considered to be an error but with throwonerror 
> set to "No" then CF will ignore it and return the content of the page?
> 
> OK, but couldn't that be improved...
> 
> Let's all send MM a request to change CFHTTP so that a redirect is not 
> treated as an error and instead an extra variable is returned that 
> indicates whether a redirect occured, along with the URL. Assuming that 
> Andrew can get it to work in the manner Steve has indicated...
> 
> Brett
> B)
> 
> Steve Onnis wrote:
> > Andrew
> > 
> > If you actually take note of whats been provided to you asa a 
solution,
> > maybe this wouldn't have taken as long as it has.
> > 
> > this will error
> > <cfhttp url="http://www.ikea.com.au"; redirect="no" 
> throwonerror="Yes"></cfhttp>
> > 
> > 
> > these will not
> > <cfhttp url="http://www.ikea.com.au"; redirect="no" 
> throwonerror="Yes"></cfhttp>
> > <cfhttp url="http://www.ikea.com.au"; redirect="Yes" 
> throwonerror="No"></cfhttp>
> > <cfhttp url="http://www.ikea.com.au"; redirect="Yes" 
> throwonerror="Yes"></cfhttp>
> > 
> > CAPISH????
> > 
> > Steve
> > 
> > 
> > 
> >>Nope I did use redirect earlier as it was there.
> >>
> >>So I readded the resolve but still not go on that one. 
> >>
> >>
> >> 
> >>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 12:24 PM
> >>To: CFAussie Mailing List
> >>Subject: [cfaussie] Re: cfhttp
> >>
> >>To reply before steve gets back to me - 
> >>
> >>You had resolveurl - 
> >>
> >><cfhttp url="#myUrl#" resolveurl="yes" throwonerror="yes"></cfhttp>
> >>
> >>Not redirect.
> >>
> >>So yes, Steve did not see that, In face, neither did I :o)
> >>
> >>Mark
> >>
> >>On Fri, 1 Apr 2005 12:06:37 +1000, Andrew Scott <[EMAIL PROTECTED]> wrote:
> >>
> >>>Mark,
> >>>
> >>>Reply back to Steve and tell him that I did have that there and 
> >>>removed it try something. My original post did have this! Or does 
Steve
> >>
> >>not see that?
> >>
> >>>But thanks anyway.
> >>>
> >>
> >>--
> >>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]
> daemon.com.au
> > Aussie Macromedia Developers: http://lists.daemon.com.au/
> > 
> 
> -- 
> Brett Payne-Rhodes
> Eaglehawk Computing
> t: +61 (0)8 9371-0471
> f: +61 (0)8 9371-0470
> m: +61 (0)414 371 047
> e: [EMAIL PROTECTED]
> w: www.ehc.net.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/



To unsubscribe from this email please forward this email to [EMAIL PROTECTED] 

This email message is confidential and may be privileged. Unauthorised use, 
copying or distribution of any part of this email
including attachments is prohibited.  If you are not the intended recipient 
please forward the email to [EMAIL PROTECTED]
and delete the original. 

ABN AMRO Morgans Limited and its associates hold or may hold securities in the 
companies/trusts mentioned herein.  Any general
advice included in this email has been prepared without taking into account 
your objectives, financial situation or needs.  Before
acting on the advice, you should consider its appropriateness or discuss with 
one of our investment advisors.

To the extent permitted by law we exclude (and where the law does not permit an 
exclusion, limit to the extent permitted by law) all
liability for any direct, indirect and consequential costs, losses, damages and 
expenses incurred in any way (including but not limited
to that arising from negligence), connected with any use or access to this 
email or any reliance on information contained in this email
or any attachments.

ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX 
Group  A Principal Member of the
Financial Planning Association


---
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