The Access Denied status may be received
from APE due to exceeding the quota. In
this situation, you need to return the
appropriate status code.
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
If an Access Denied error occurs, we should
return 403 Forbidden instead of 400 Bad Request.
Gateway Timeout error we also need to process
and return the 504 Gateway Timeout code.
Signed-off-by: Roman Loginov <r.loginov@yadro.com>