From 5b500679066af2a133772289b23bf0a2f9dd6bf7 Mon Sep 17 00:00:00 2001 From: ziyun <2212227+ziyun@users.noreply.github.com> Date: Fri, 29 Mar 2024 04:15:24 +0800 Subject: [PATCH] Add skippable proxy header Apache uses title casing when acting as forward proxy --- src/nusoap.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nusoap.php b/src/nusoap.php index 11f2c89..1eb60fb 100644 --- a/src/nusoap.php +++ b/src/nusoap.php @@ -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) {