IIS's compression scheme incompatible with CFHTTP
Today some of our sites that make CFHTTP calls to Protx's VSP Direct Server stopped working! The CFHTTP response I was getting back was "Connection Failure: Status code unavailable".
A quick search one the Net and I came across this post: Workaround for CFHTTP and Compressed HTTP Response from IIS.
Basically it's to do with the HTTP Compression in IIS. CFHTTP couldn't read the compressed header. This is due to IIS's compression scheme being incompatible with CFHTTP, so I have read.
The quick fix was to add the following CFHTTPPARAM to the CFHTTP post so the header is sent back uncompressed.
2<cfhttpparam type="Header" name="TE" value="deflate;q=0">
This resolved the problem, however this issue according to some other blog posts I read was resolved in MX7 Cumulative Hot Fix back in 9/10/2007, however I am running CF 8.01 maybe this needs addressing again?
Dec05



05/12/08 17:42
As far as I know, this was never something to be "fixed" in ColdFusion. The problem is that the webserver is zipping up the HTTP Response, and the headers just ask the webserver not to do that. At best, this would be an enhancement request for ColdFusion, to give it new functionality that automagically deflates compressed HTTP Responses when needed, and there's probably already an enhancement request in for this. You may want to check out a comprehensive article from Sami Hoda on (the now defunct) CFDJ archives (watch out for the popups): http://coldfusion.sys-con.com/node/345934