diff --git a/library/Solarium/Core/Client/Adapter/Curl.php b/library/Solarium/Core/Client/Adapter/Curl.php index 5035d23e1..a155cc4c8 100644 --- a/library/Solarium/Core/Client/Adapter/Curl.php +++ b/library/Solarium/Core/Client/Adapter/Curl.php @@ -156,11 +156,7 @@ public function createHandle($request, $endpoint) } if (!isset($options['headers']['Content-Type'])) { - if($method == Request::METHOD_GET){ - $options['headers']['Content-Type'] = 'application/x-www-form-urlencoded; charset=utf-8'; - } else { - $options['headers']['Content-Type'] = 'application/xml; charset=utf-8'; - } + $options['headers']['Content-Type'] = 'text/xml; charset=utf-8'; } // Try endpoint authentication first, fallback to request for backwards compatibility