I’m using cfhttp to post data to a URL and getting “connection failure” as the file content. I’ve set the accept-encoding header to ‘no-compression’ which solves the problem for get requests but not for posts.
How do I successfully post when the site uses GZIP?
Gah. The problem was that Ben’s CFHTTPSession component wasn’t carrying the header over when doing redirects after a successful post. So my actual post was succeeding, but then the redirect was failing.
Fixing that in CFHTTPSession.cfc gotterdone