You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
As title. I got an error when I was using proxy. But It worked without proxy.
I try to compare the distinct between this two condition.
And I found that There was one more header which was returned by proxy.
response with proxy
HTTP/1.1 200 Connection established
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Server: nginx
.
.
.
/**
* Test if the given string starts with a header that is to be skipped.
* Skippable headers result from chunked transfer and proxy requests.
*
* @param string $data The string to check.
* @returns boolean Whether a skippable header was found.
* @access private
*/
function isSkippableCurlHeader(&$data)
{
$skipHeaders = array('HTTP/1.1 100',
'HTTP/1.0 301',
'HTTP/1.1 301',
'HTTP/1.0 302',
'HTTP/1.1 302',
'HTTP/1.0 401',
'HTTP/1.1 401',
'HTTP/1.0 200 Connection established');
foreach ($skipHeaders as $hd) {
$prefix = substr($data, 0, strlen($hd));
if ($prefix == $hd) return TRUE;
}
return FALSE;
}
It only filter HTTP/1.0 200 Connection established.
Why the header HTTP/1.1 200 Connection established should be reserve?
The text was updated successfully, but these errors were encountered:
Hello.
As title. I got an error when I was using proxy. But It worked without proxy.
I try to compare the distinct between this two condition.
And I found that There was one more header which was returned by proxy.
And I found relative code at
nusoap.php
line 2819It only filter
HTTP/1.0 200 Connection established
.Why the header
HTTP/1.1 200 Connection established
should be reserve?The text was updated successfully, but these errors were encountered: