$this->getLogger()->warning('XML-RPC: ' . __METHOD__ . ': desired request compression method is unsupported by this PHP install');
}
} else {
- $this->getLogger()->warning('XML-RPC: ' . __METHOD__ . ': desired request compression method is unsupported');
+ if ($opts['request_compression'] != '') {
+ $this->getLogger()->warning('XML-RPC: ' . __METHOD__ . ': desired request compression method is unsupported');
+ }
}
// thanks to Grant Rauscher
$this->getLogger()->warning('XML-RPC: ' . __METHOD__ . ': desired request compression method is unsupported by this PHP install');
}
} else {
- $this->getLogger()->warning('XML-RPC: ' . __METHOD__ . ': desired request compression method is unsupported');
+ if ($opts['request_compression'] != '') {
+ $this->getLogger()->warning('XML-RPC: ' . __METHOD__ . ': desired request compression method is unsupported');
+ }
}
if (!$opts['keepalive'] || !$this->xmlrpc_curl_handle) {
));
$this->client->setOption(\PhpXmlRpc\Client::OPT_USERNAME, 'user');
$this->client->setOption(\PhpXmlRpc\Client::OPT_AUTH_TYPE, 2);
+ $this->client->setOption(\PhpXmlRpc\Client::OPT_USE_CURL, \PhpXmlRpc\Client::USE_CURL_NEVER);
$r = $this->client->send($m);
$this->assertEquals(\PhpXmlRpc\PhpXmlRpc::$xmlrpcerr['unsupported_option'], $r->faultCode());
}