phpxmlrpc
phpxmlrpc copied to clipboard
client: use slash as name/version separator
this avoids weird ambiguity "XML-RPC for PHP 4.2.1" sounds like it's for PHP version in question, not this library.
personally i would change whole agent to be project name "PHPXMLRPC/4.2.1" or "phpxmlrpc/4.2.1", but that might break some scenarios when useragent is matched on remote side.
As you noted, this might break cases where users were crazy enough to depend on that string. As I am a great fan of keeping BC in general, and esp. for this one library, I will only include this change in the next major version of the lib (which is currently not scheduled, sorry).
perhaps keep the current string, and additionally add the new one "phpxmlrpc/4.2.1"
for now? :)