Skip to content

4.11.4

Choose a tag to compare

@github-actions github-actions released this 30 Oct 13:22
· 10 commits to master since this release
  • 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)
    and Wrapper::cloneClientForClosure($client). Made previously private method Client::_try_multicall protected.
    Added to Wrapper protected members $prefix = 'xmlrpc' and $allowedResponseClass.
    Allow '*' as argument for Wrapper::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.php demo file now works in 2 steps, to better exemplify real-world usage

  • fixed: the client/parallel.php demo was not sending separate requests when using curl "multi" mode

  • fixed: method PhpXmlRpc::setLogger was not resetting the Response Logger

  • fixed: the vm.sh script would not expose the http ports of the test container to the host