--- class-http.php	2010-07-03 23:22:56.144531200 +0300
+++ new.php	2010-07-03 23:43:41.535156200 +0300
@@ -1408,7 +1408,7 @@
 				$theBody = substr( $theResponse, $headerLength );
 			else
 				$theBody = '';
-			if ( false !== strrpos($theHeaders, "\r\n\r\n") ) {
+			if ( false !== strpos($theHeaders, "\r\n\r\n") ) {
 				$headerParts = explode("\r\n\r\n", $theHeaders);
 				$theHeaders = $headerParts[ count($headerParts) -1 ];
 			}
