Skip to content
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

Allow reponse body to be optional #114

Merged
merged 1 commit into from
Feb 3, 2019
Merged

Conversation

danew
Copy link

@danew danew commented Feb 3, 2019

Currently, you must provide a body in the response and a simple status code won't do.
I propose that the body is optional, allowing simple status codes like 300's and 201 to have no body defined.

#91

@danew
Copy link
Author

danew commented Feb 3, 2019

Also related to #43

@swyxio
Copy link
Contributor

swyxio commented Feb 3, 2019

alright! thanks dane

@swyxio swyxio merged commit 2545e8f into netlify:master Feb 3, 2019
@swyxio
Copy link
Contributor

swyxio commented Feb 3, 2019

@swyxio
Copy link
Contributor

swyxio commented Feb 3, 2019

notifying @waynehoover and @talves of this minor fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants