diff --git a/common/HttpClient.php b/common/HttpClient.php index cbc5d0c..39d28f5 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -449,7 +449,9 @@ class HttpClient private function explode($output) { [$header, $body] = explode("\r\n\r\n", $output, 2); - if (strpos($body, "\r\n\r\n") !== false) { + if ($header == 'HTTP/1.1 100 Continue') { + [$header, $body] = explode("\r\n\r\n", $body, 2); + } else if (strpos($body, "\r\n\r\n") !== false) { [$header, $body] = explode("\r\n\r\n", $body, 2); } $header = explode("\r\n", $header);