4.11.4
-
improved: allow to force usage of HTTP 1.1. when using curl for calls, via usage of 'http11_only'
-
improved: when using "Interop" error codes, use error code -32700 when xml parsing fails server-side, instead of 100+X
-
improved: changed some error numbers to avoid conflicts - now errors related to http compression use the range 153-157,
while the range 103-107 is reserved for xml parsing errors -
improved: added new methods:
Server::generatePayload($resp, $respCharset),
Server::printPayload($payload, $respContentType, $respEncoding),HTTP::setAcceptedStatusCodes($statusCodes)
andWrapper::cloneClientForClosure($client). Made previously private methodClient::_try_multicallprotected.
Added toWrapperprotected members$prefix = 'xmlrpc'and$allowedResponseClass.
Allow '*' as argument forWrapper::holdObject().
All of this to help subclasses such as the Json-Rpc client, server, request and wrapper. -
improved: prepared the debugger for json-rpc 2.0 support, which will be in an upcoming release of the PhpJsonRpc library
-
improved: the
server/codegen.phpdemo file now works in 2 steps, to better exemplify real-world usage -
fixed: the
client/parallel.phpdemo was not sending separate requests when using curl "multi" mode -
fixed: method
PhpXmlRpc::setLoggerwas not resetting the Response Logger -
fixed: the
vm.shscript would not expose the http ports of the test container to the host