How do I troubleshoot responses with WP HTTP API?

We tracked it down to content-encoding’ => string ‘deflate’ (length=7) being at fault.

WP_HTTP is adding in a deflate header for no reason and un gzip compressing the results.
It only happens when the body of the response is under a certain string length.

Very annoying when all you want isa 1 or a 0.

A query to WP_Hackers hasn’t resulted in a fix.
Might have to chase it up further…..

Leave a Comment