404 API routes return plaintext #228
Labels
No labels
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If a route currently returns 404, it returns a plaintext response instead of the expected JSON response.
To be honest, this isn't really a problem. The only routes that I think should return a proper 404 JSON message are the API routes with URL parameters. Other routes can just return an empty 404, as the response is irrelevant.
Yeah I'm not counting this as an issue anymore.