Jump to content

RSS Feed Issue - challenger to asp'ers and php'ers


Skemcin

Recommended Posts

Ok, so I have set up several RSS feeds - both reading and writing - so this isn't new to me. However, I have come across a situation with a new feed that I cannot figure out . . .Feed url:http://www12.porsche.com/usa/rss/default.ashxorhttp://www.porsche.com/usa/rss/default.ashxMy Code:

<cfhttp url="http://www12.porsche.com/usa/rss/default.ashx" method="GET" timeout="15" /><cfdump var"#cfhttp.filecontent#">. . .

Weird Note:When I load the feed url in my web browser, it loads perfectly - I can see the XML in its structured format. Even bookmarks fine in Firefox. But, when I load my coded page, I get a "Connection Failure" response.So can anyone try this in their native tongue - php or asp - and let me know the results?Thanks in advance.

Link to comment
Share on other sites

Found a resolution:

<cfhttp url="http://www12.porsche.com/usa/rss/default.ashx" method="GET" timeout="15"><cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0"><cfhttpparam type="Header" name="TE" value="deflate;q=0"></cfhttp>

Turns out that there is a server setting that compresses the request in a way that Cold Fusion cannot parse when calling information throught the <CFHTTP> unless you deflate it . . . interesting.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...