(self)
return resp, caps
Process a CAPABILITIES command.  Not supported by all servers.
        Return:
        - resp: server response if successful
        - caps: a dictionary mapping capability names to lists of tokens
        (for example {'VERSION': ['2'], 'OVER': [], LIST: ['ACTIVE', 'HEADERS'] })
Process a CAPABILITIES command.  Not supported by all servers.
        Return:
        - resp: server response if successful
        - caps: a dictionary mapping capability names to lists of tokens
        (for example {'VERSION': ['2'], 'OVER': [], LIST: ['ACTIVE', 'HEADERS'] })
Process a CAPABILITIES command . Not supported by all servers . Return : - resp : server response if successful - caps : a dictionary mapping capability names to lists of tokens ( for example { VERSION : [ 2 ] OVER : [] LIST : [ ACTIVE HEADERS ] } )
def capabilities(self):
        """Process a CAPABILITIES command.  Not supported by all servers.
        Return:
        - resp: server response if successful
        - caps: a dictionary mapping capability names to lists of tokens
        (for example {'VERSION': ['2'], 'OVER': [], LIST: ['ACTIVE', 'HEADERS'] })
        """
        caps = {}
        resp, lines = self._longcmdstring("CAPABILITIES")
        for line in lines:
            name, *tokens = line.split()
            caps[name] = tokens
        return resp, caps
def capabilities ( self ) : caps = { } resp , lines = self . _longcmdstring ( "CAPABILITIES" ) for line in lines : name , * tokens = line . split ( ) caps [ name ] = tokens return resp , caps