diff --git a/src/Jackalope/Transport/Jackrabbit/Client.php b/src/Jackalope/Transport/Jackrabbit/Client.php index ecbc4de1..870350d3 100644 --- a/src/Jackalope/Transport/Jackrabbit/Client.php +++ b/src/Jackalope/Transport/Jackrabbit/Client.php @@ -663,7 +663,7 @@ public function getBinaryStream($path) $path = $this->encodeAndValidatePathForDavex($path); $request = $this->getRequest(Request::GET, $path); $curl = $request->execute(true); - switch ($curl->getHeader('Content-Type')) { + switch (strtolower($curl->getHeader('Content-Type'))) { case 'text/xml; charset=utf-8': case 'text/xml;charset=utf-8': return $this->decodeBinaryDom($curl->getResponse());