Skip to content

Commit 2de7be1

Browse files
committed
fix: fix the repeat status code 100 problem.
1 parent 81c835d commit 2de7be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/CURLRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public function send(string $method, string $url)
389389
// Set the string we want to break our response from
390390
$breakString = "\r\n\r\n";
391391

392-
if (strpos($output, 'HTTP/1.1 100 Continue') === 0) {
392+
while (strpos($output, 'HTTP/1.1 100 Continue') === 0) {
393393
$output = substr($output, strpos($output, $breakString) + 4);
394394
}
395395

0 commit comments

Comments
 (0)