Revision 33664046 daemons/ganeti-rapi

b/daemons/ganeti-rapi
107 107
      try:
108 108
        ctx.handler_fn = getattr(ctx.handler, method)
109 109
      except AttributeError:
110
        raise http.HttpBadRequest("Method %s is unsupported for path %s" %
111
                                  (method, req.request_path))
110
        raise http.HttpNotImplemented("Method %s is unsupported for path %s" %
111
                                      (method, req.request_path))
112 112

  
113 113
      ctx.handler_access = getattr(ctx.handler, "%s_ACCESS" % method, None)
114 114

  

Also available in: Unified diff