Skip to content

PHP Notice: Undefined index: content-type in asistenteweb/nusoap/src/Aw/Nusoap/NusoapClient.php on line 472 #5

@wadedung

Description

@wadedung

There is an error when I requested soap server through proxy.
I found that curl return contain 'HTTP/1.1 200 Connection established' when I was running debugger.

$err = 'cURL ERROR: '.curl_errno($this->ch).': '.$cErr.'<br>';

And It wasn't be filtered at here:

'HTTP/1.0 200 Connection established');

so $http->incoming_headers would be empty here:

$this->debug('got response, length='. strlen($this->responseData).' type='.$http->incoming_headers['content-type']);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions