Skip to content

Commit

Permalink
Add skippable proxy header
Browse files Browse the repository at this point in the history
Apache uses title casing when acting as forward proxy
  • Loading branch information
ziyun authored and f3l1x committed Mar 29, 2024
1 parent ac2322f commit 5b50067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,9 @@ function isSkippableCurlHeader($data)
'HTTP/1.0 401',
'HTTP/1.1 401',
'HTTP/1.0 200 Connection established',
'HTTP/1.1 200 Connection established');
'HTTP/1.0 200 Connection Established',
'HTTP/1.1 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 5b50067

Please sign in to comment.