@@ 38-41 (lines=4) @@ | ||
35 | ||
36 | $header = ''; |
|
37 | $body = $res; |
|
38 | if ($http_code == 200) { |
|
39 | list($header, $body) = explode("\r\n\r\n", $res, 2); |
|
40 | $header = http_parse_headers($header); |
|
41 | } |
|
42 | ||
43 | $result = []; |
|
44 | $result['info'] = $body; |
|
@@ 67-70 (lines=4) @@ | ||
64 | ||
65 | $header = ''; |
|
66 | $body = $res; |
|
67 | if ($http_code == 200) { |
|
68 | list($header, $body) = explode("\r\n\r\n", $res, 2); |
|
69 | $header = http_parse_headers($header); |
|
70 | } |
|
71 | ||
72 | $result = []; |
|
73 | $result['info'] = $body; |