Text 4 Aug 42 notes GZIP and CFHTTP “Connection Failure”

When you enable gzip, or deflate, compression on your server one side effect is your existing cfhttp requests will show “Connection Failure” even though you get an http 200 response. This is because Coldfusion doesn’t know how to decompress the response. Get get arround this you need to tell the server to send an uncompressed response. Use this tag to do so.

<cfhttpparam type=”header” name=”Accept-Encoding” Value=”no-compression”>

  1. cfpad posted this

Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.