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

Replace res.send( 404 ) with res.sendStatus( 404 ) in stream.js #130

Merged
merged 1 commit into from
Apr 18, 2018

Conversation

eric79
Copy link

@eric79 eric79 commented Apr 16, 2018

... which is the new way that node.js wants us to send a response that is empty other than the status code. (Sorry, I had introduced the deprecated version a little while ago)

... which is the new way that node.js wants us to send a response that is empty other than the status code.  (Sorry, I had introduced the deprecated version a little while ago)
@youngca youngca force-pushed the replace-deprecated-send-with-sendStatus branch from be3edb2 to e01d235 Compare April 18, 2018 18:56
@youngca youngca merged commit 2246a25 into tdg Apr 18, 2018
@youngca youngca deleted the replace-deprecated-send-with-sendStatus branch April 18, 2018 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants