Skip to content

Commit

Permalink
Added skippable header for "HTTP/1.1 200" proxy response
Browse files Browse the repository at this point in the history
  • Loading branch information
msilvapor authored and f3l1x committed Feb 21, 2022
1 parent 615d113 commit 88c0eb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2846,7 +2846,8 @@ function isSkippableCurlHeader(&$data)
'HTTP/1.1 302',
'HTTP/1.0 401',
'HTTP/1.1 401',
'HTTP/1.0 200 Connection established');
'HTTP/1.0 200 Connection established',
'HTTP/1.1 200 Connection established');
foreach ($skipHeaders as $hd) {
$prefix = substr($data, 0, strlen($hd));
if ($prefix == $hd) {
Expand Down

0 comments on commit 88c0eb0

Please sign in to comment.