You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2023/11/19 20:34:00 UTC
[jira] [Created] (YUNIKORN-2163) Fix HTTP status codes
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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org