diff --git a/lib/Doctrine/CouchDB/HTTP/SocketClient.php b/lib/Doctrine/CouchDB/HTTP/SocketClient.php index 6cdcecf..a3367e4 100644 --- a/lib/Doctrine/CouchDB/HTTP/SocketClient.php +++ b/lib/Doctrine/CouchDB/HTTP/SocketClient.php @@ -293,9 +293,6 @@ public function request($method, $path, $data = null, $raw = false, array $heade } } } while ($bytesToRead > 0); - - // Chop off \r\n from the end. - $body = substr($body, 0, -2); } // Reset the connection if the server asks for it.