I’m getting the following warning when debugging my plugin with “Debug Bar” plugin.
WARNING: wp-includesclass-http.php:1669 - gzinflate(): data error
I am using wp_remote_post()
in the plugin & it is causing the error.
How can I fix that? Any clue ?
Thanks in advance!
You can also use the argument
'decompress' => false
and WordPress will set the correct header values for you. Like this: