Revision 17c2ed57
ID | 17c2ed574143e5b74372709c6f8eee6d335fe0d8 |
Fix HTTP response code when refusing action
Return Forbidden(403) instead of Unauthorized(401) when refusing a
requested action, because the VM is suspended or the resource is public.
Unauthorized should be used only when authentication is required and has
failed or has not yet been provided.
Files
- added
- modified
- copied
- renamed
- deleted