« Previous | Next » 

Revision 17c2ed57

ID17c2ed574143e5b74372709c6f8eee6d335fe0d8

Added by Christos Stavrakakis over 10 years ago

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

View differences