Peter Bacsko created YUNIKORN-2163:
--------------------------------------
Summary: Fix HTTP status codes
Key: YUNIKORN-2163
URL: https://issues.apache.org/jira/browse/YUNIKORN-2163
Project: Apache YuniKorn
Issue Type: Sub-task
Components: core - common
Reporter: Peter Bacsko
Assignee: Peter Bacsko
In the REST interface, sometimes we return 404 Bad request instead of a more
appropriate 5xx like Internal server error (500). 4xx codes are client-related
errors, ie something is wrong with the request. However, if the request itself
is valid but cannot be fulfilled, it's better to use a server-related status
code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]