public static function getCommandArgs($command)
public static function getCommandArgs($command)
Parameters
$command |
Return
wild |
public static function isReadOnlyCommand($command)
public static function isReadOnlyCommand($command)
Parameters
$command |
Return
wild |
public static function isReadOnlyBatchCommand($cmds)
public static function isReadOnlyBatchCommand($cmds)
Parameters
$cmds |
Return
wild |
public static function filterBundle2Capability($capabilities)
public static function filterBundle2Capability($capabilities)
If the server version is running 3.4+ it will respond with 'bundle2' capability in the format of "bundle2=(url-encoding)". Until we manage to properly package up bundles to send back we disallow the client from knowing we speak bundle2 by removing it from the capabilities listing.
The format of the capabilities string is: "a space separated list of strings representing what commands the server supports"
Parameters
string | $capabilities | - The string of capabilities to strip the bundle2 capability from. This is expected to be the space-separated list of strings resulting from the querying the 'capabilities' command. |
Return
string | The resulting space-separated list of capabilities which no longer contains the 'bundle2' capability. This is meant to replace the original $body to send back to client. |