Re: CFHTTP resolving URLS?

2008-05-04 Thread Nate Willard
I haven't been able to get it to work.

Any other ideas?

Thxs


- Original Message 
From: Mike Chabot [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Saturday, May 3, 2008 8:51:32 PM
Subject: Re: CFHTTP resolving URLS?

If you turn off redirection in the cfhttp tag you might be able to
pull the new location out of the cfhttp.responseHeader variable, such
as cfhttp.responseHeader['location']. You wouldn't end up at your
final destination though and would have to call cfhttp again to get
the content. If you do a dump of the cfhttp variable, and the new
location isn't there, then that data point isn't available. You could
always use an alternative to cfhttp, such as some Java function or
maybe calling a program like wget using cfexecute.

Good luck,
Mike Chabot

On Sat, May 3, 2008 at 11:31 PM, Nate Willard [EMAIL PROTECTED] wrote:
 Hello all,

 Quick question.

 If I have a URL such as: 
 http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/;

 Which resolves to: http://www.techcrunch.com/2008/05/03/yahoo-responds/;


 When I call http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; in the 
 first CFHTTP, its automatically reloads the full techcrunch URL.

 Is there a way to obtain this final resolved URL? from the results of the 
 CFHTTP?

 Thanks,
 N

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304725
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP resolving URLS?

2008-05-04 Thread James Holmes
What code did you use? I've done this in the past with no problems.

On Mon, May 5, 2008 at 6:08 AM, Nate Willard [EMAIL PROTECTED] wrote:
 I haven't been able to get it to work.

  Any other ideas?

  Thxs




  - Original Message 
  From: Mike Chabot [EMAIL PROTECTED]
  To: CF-Talk cf-talk@houseoffusion.com
  Sent: Saturday, May 3, 2008 8:51:32 PM
  Subject: Re: CFHTTP resolving URLS?

  If you turn off redirection in the cfhttp tag you might be able to
  pull the new location out of the cfhttp.responseHeader variable, such
  as cfhttp.responseHeader['location']. You wouldn't end up at your
  final destination though and would have to call cfhttp again to get
  the content. If you do a dump of the cfhttp variable, and the new
  location isn't there, then that data point isn't available. You could
  always use an alternative to cfhttp, such as some Java function or
  maybe calling a program like wget using cfexecute.

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304732
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFHTTP resolving URLS?

2008-05-03 Thread Nate Willard
Hello all,

Quick question.

If I have a URL such as: 
http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/;

Which resolves to: http://www.techcrunch.com/2008/05/03/yahoo-responds/;


When I call http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; in the 
first CFHTTP, its automatically reloads the full techcrunch URL. 

Is there a way to obtain this final resolved URL? from the results of the 
CFHTTP?

Thanks,
N

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304712
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP resolving URLS?

2008-05-03 Thread Mike Chabot
If you turn off redirection in the cfhttp tag you might be able to
pull the new location out of the cfhttp.responseHeader variable, such
as cfhttp.responseHeader['location']. You wouldn't end up at your
final destination though and would have to call cfhttp again to get
the content. If you do a dump of the cfhttp variable, and the new
location isn't there, then that data point isn't available. You could
always use an alternative to cfhttp, such as some Java function or
maybe calling a program like wget using cfexecute.

Good luck,
Mike Chabot

On Sat, May 3, 2008 at 11:31 PM, Nate Willard [EMAIL PROTECTED] wrote:
 Hello all,

 Quick question.

 If I have a URL such as: 
 http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/;

 Which resolves to: http://www.techcrunch.com/2008/05/03/yahoo-responds/;


 When I call http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; in the 
 first CFHTTP, its automatically reloads the full techcrunch URL.

 Is there a way to obtain this final resolved URL? from the results of the 
 CFHTTP?

 Thanks,
 N

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304713
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4