Send a more appropriate error response for 403 in osapi
* Don't use resizeNotAllowed for 403 * Fixes bug 949444 Change-Id: Ib2b5acba291a04e0c0296fa5e8438019983dda20
This commit is contained in:
@@ -1022,7 +1022,7 @@ class Fault(webob.exc.HTTPException):
|
||||
_fault_names = {
|
||||
400: "badRequest",
|
||||
401: "unauthorized",
|
||||
403: "resizeNotAllowed",
|
||||
403: "forbidden",
|
||||
404: "itemNotFound",
|
||||
405: "badMethod",
|
||||
409: "conflictingRequest",
|
||||
|
||||
Reference in New Issue
Block a user