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.
<cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0">
<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?


