Example #1
0
 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
Example #2
0
 def note_list_delete(self, request):
     # https://code.google.com/p/googleappengine/issues/detail?id=11371
     raise errors.MethodNotAllowed()
Example #3
0
 def note_get_post(self, request):
     raise errors.MethodNotAllowed()