-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
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
feat: addsendNoContent
utility to create a 204 response
#250
Conversation
Codecov Report
@@ Coverage Diff @@
## main #250 +/- ##
==========================================
- Coverage 75.84% 75.64% -0.20%
==========================================
Files 21 20 -1
Lines 1681 1232 -449
Branches 273 224 -49
==========================================
- Hits 1275 932 -343
+ Misses 406 300 -106
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
sendNoContent
utility to create a response with an empty payload
sendNoContent
utility to create a response with an empty payloadsendNoContent
utility to create a 204 response with an empty payload
sendNoContent
utility to create a 204 response with an empty payloadsendNoContent
utility to create a 204 response
Adds a little helper method to immediately end the response without sending any data.
Note sure about the naming, but otherwise ready to be review.