parameters: (self)
return_statement: return resp, caps
docstring: 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'] })
docstring_summary: 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'] })
docstring_tokens: 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 ] } )
function: 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
function_tokens: def capabilities ( self ) : caps = { } resp , lines = self . _longcmdstring ( "CAPABILITIES" ) for line in lines : name , * tokens = line . split ( ) caps [ name ] = tokens return resp , caps