add clear
This commit is contained in:
@@ -632,7 +632,6 @@ class HttpClient
|
|||||||
if ($output === FALSE) {
|
if ($output === FALSE) {
|
||||||
return new Result(['code' => 500, 'message' => $output]);
|
return new Result(['code' => 500, 'message' => $output]);
|
||||||
}
|
}
|
||||||
var_dump($output);
|
|
||||||
[$header, $body, $status] = $this->explode($output);
|
[$header, $body, $status] = $this->explode($output);
|
||||||
if (!in_array($status, [200, 201])) {
|
if (!in_array($status, [200, 201])) {
|
||||||
$data = new Result(['code' => $status, 'message' => $body, 'header' => $header]);
|
$data = new Result(['code' => $status, 'message' => $body, 'header' => $header]);
|
||||||
|
|||||||
Reference in New Issue
Block a user