Answered
CFHTTP returns wrong page
Yesterday a CFHTTP tag started returning the wrong page. When
the page is accessed through a browser, it looks like this:
http://www.fosters.com/apps/pbcs.dll/section?category=NEWS26
When the page is captured with CFHTTP, it looks like this http://www.portsmouthnh.com/news/fosters.cfm.
The CF code is very simple:
<cfhttp url=" http://www.fosters.com/apps/pbcs.dll/section?category=NEWS26" method="GET" resolveurl="true" timeout="35" charset="Windows-1252" throwonerror="Yes">
<cfset fosters="#cfhttp.filecontent#">
<cfoutput>#fosters#</cfoutput>
What's up with that? No changes have been made to the CF. My site is virtually hosted so I don't know if any server changes were made, although I'm asking. The remote site generally requires registration, but we have a working agreement and this page has been fine for months.
What could cause that? Tx.

When the page is captured with CFHTTP, it looks like this http://www.portsmouthnh.com/news/fosters.cfm.
The CF code is very simple:
<cfhttp url=" http://www.fosters.com/apps/pbcs.dll/section?category=NEWS26" method="GET" resolveurl="true" timeout="35" charset="Windows-1252" throwonerror="Yes">
<cfset fosters="#cfhttp.filecontent#">
<cfoutput>#fosters#</cfoutput>
What's up with that? No changes have been made to the CF. My site is virtually hosted so I don't know if any server changes were made, although I'm asking. The remote site generally requires registration, but we have a working agreement and this page has been fine for months.
What could cause that? Tx.
