I am trying to run the following using CF6.1:
<cfhttp
url="http://xmlfeed.laterooms.com/index.aspx?aid=1000&rtype=4&kword=cardiff"
method="get"></cfhttp> but despite getting status code 200 OK the content is
'Connection Failure'.
After looking at various threads and articles I've also tried these suggestion:
<cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0">
<cfhttpparam type="Header" name="TE" value="deflate;q=0"> <cfhttpparam
type="Header" name="Accept-Encoding" value="*"> <cfhttpparam type="header"
name="accept-encoding" value="no-compression" /> <cfhttpparam type="Header"
name="charset" value="utf-8"> and (at the suggestion of laterooms):
<cfhttpparam type="Header" name="Accept-Encoding" value="none"> all with the
same result.
I've tried using createObject("java", "java.net.URL") to make the connection
and this works without any problem but I want to avoid this and use cfhttp it
it's possible.
Any suggestions?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:332972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm