Yep. I use that to ping a site with an AJAX call too. 

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


On Tue, Apr 6, 2010 at 9:24 AM, Andy Matthews
<li...@commadelimited.com>wrote:

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

Nice!  I did not know that.

--
Charlie Griefer
http://charlie.griefer.com/

I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:332650
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to