def _get_method(self, request): """ Figure out the requested method and return the callable. """ methodname = request.method.lower() method = getattr(self, methodname, None) if not method or not callable(method): raise errors.MethodNotAllowed() return method
def note_list_delete(self, request): # https://code.google.com/p/googleappengine/issues/detail?id=11371 raise errors.MethodNotAllowed()
def note_get_post(self, request): raise errors.MethodNotAllowed()