def _delete(self, path): """Sends a command to the server using http DELETE method.""" return utils.return_value_if_exists( self._conn.delete(path))
def _post(self, path, *params): """Sends the command using http POST method.""" return utils.return_value_if_exists( utils.get_root_parent(self).conn.post(("element/%s/" % self.id) + path, *params) )
def _post(self, path, *params): """Sends a command to the server using http POST method.""" return utils.return_value_if_exists( self._conn.post(path, *params))