code: def handle(self):
          
          data = cPickle.load(self.rfile)  # pylint: disable=E1101
          method = data.pop('method')
          try:
              retval = getattr(self, 'do_{0}'.format(method))(**data)
          except Exception as e:
              # All exceptions should be passed to the client
              retval = e
          cPickle.dump(retval, self.wfile,  # pylint: disable=E1101
                       cPickle.HIGHEST_PROTOCOL)
docs: Parse the RPC, make the call, and pickle up the return value.