Returns status, headers and body from a HTTP response string.
public static parseResponse ( string $response ) : array | ||
$response | string | Response including header and body. |
return | array | Status, headers and body as strings. |
public static parseResponse ( string $response ) : array | ||
$response | string | Response including header and body. |
return | array | Status, headers and body as strings. |