We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue is to request behavior changes on "get" routes that are currently returning 500 codes that might be better as 4xx.
For example, a "get" to /task/<task_id> if the task does not exist in redis returns a 500. An example: https://github.com/tbotnz/netpalm/blob/master/netpalm/routers/task.py#L21
/task/<task_id>
Might it be better to return something like a 404 if the task does not exist?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This issue is to request behavior changes on "get" routes that are currently returning 500 codes that might be better as 4xx.
For example, a "get" to
/task/<task_id>
if the task does not exist in redis returns a 500. An example:https://github.com/tbotnz/netpalm/blob/master/netpalm/routers/task.py#L21
Might it be better to return something like a 404 if the task does not exist?
The text was updated successfully, but these errors were encountered: