mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -391,7 +391,7 @@ class WP_Http {
|
||||
*/
|
||||
function processResponse($strResponse) {
|
||||
$res = explode("\r\n\r\n", $strResponse, 2);
|
||||
|
||||
|
||||
return array('headers' => isset($res[0]) ? $res[0] : array(), 'body' => isset($res[1]) ? $res[1] : '');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user