Additionally you can make the request a little lighter by just making a HEAD
request instead of a get or post.

<cfhttp url="http://www.andymatthews.net"; method="head"></cfhttp>

It doesn't return the entire body of the site in the filecontent key.


andy

-----Original Message-----
From: Charlie Griefer [mailto:charlie.grie...@gmail.com] 
Sent: Tuesday, April 06, 2010 10:47 AM
To: cf-talk
Subject: Re: using cfhttp


d'oH!  yeah, cfhttp.statusCode.  not cfhttp.fileStatus.  :)

On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman <chorno...@gmail.com> wrote:

>
> Using cfhttp will return a cfhttp.statusCode, which if is "200 OK" you 
> know the URL has resolved correct.
>
>
> --
> /Kevin Pepperman
>
> "They who can give up essential liberty to obtain a little temporary 
> safety, deserve neither liberty nor safety." - Benjamin Franklin
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332644
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to