diff --git a/lib/Productsup/Http/Request.php b/lib/Productsup/Http/Request.php index 44cdbb0..a8d5e07 100644 --- a/lib/Productsup/Http/Request.php +++ b/lib/Productsup/Http/Request.php @@ -17,7 +17,7 @@ class Request public $queryParams = array(); - public $allowCompression = true; + public $allowCompression = false; private $_Client; diff --git a/lib/Productsup/Service/ProductData.php b/lib/Productsup/Service/ProductData.php index 73ee631..87014df 100644 --- a/lib/Productsup/Service/ProductData.php +++ b/lib/Productsup/Service/ProductData.php @@ -254,6 +254,7 @@ private function _submit() { $this->createBatchId(); $this->didSubmit = true; $request = $this->getRequest(); + $request->allowCompression = true; $request->method = Request::METHOD_POST; $request->url .= '/upload'; $request->postBody = $this->_productData;