Replies: 1 comment 1 reply
-
You can do it already: let response = badRequest(null, { statusText: "Custom text" }) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using unauthorized or notFound, it would be cool to add the default statusText as stated here :
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Beta Was this translation helpful? Give feedback.
All reactions