Curl/WsdlGenerator - better error handling
This commit is contained in:
@ -158,7 +158,7 @@ class Curl
|
||||
$location
|
||||
);
|
||||
|
||||
if (!is_integer($httpResponseCode) || $httpResponseCode >= 400) {
|
||||
if (!is_integer($httpResponseCode) || $httpResponseCode >= 400 || $httpResponseCode === 0) {
|
||||
|
||||
return new CurlResponse(
|
||||
$httpRequestHeadersAsString,
|
||||
|
Reference in New Issue
Block a user