Fix a error exception code
403 should be representative of HTTPForbidden ,not HTTPUnauthorized, it should be a paste error Change-Id: I1e20f88de57f1338eb3fdb76eb6368fc752645a9
This commit is contained in:
parent
7232a2b857
commit
6770f99f47
@ -453,7 +453,7 @@ class Fault(webob.exc.HTTPException):
|
||||
code_wrapper = {
|
||||
400: webob.exc.HTTPBadRequest,
|
||||
401: webob.exc.HTTPUnauthorized,
|
||||
403: webob.exc.HTTPUnauthorized,
|
||||
403: webob.exc.HTTPForbidden,
|
||||
404: webob.exc.HTTPNotFound,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user