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
Cannot send numbers or bools as payloads #1607
Comments
This is a duplicate of #1461 I believe |
I think we settled on fixing this, with the following caveat:
|
So essentially |
Yep, makes sense, I think we're just missing 2) and 4) from your list. |
Fixed by #1609 |
Bug Report
A regression of GH-800. You cannot send numbers or false even with an explicit status code. i.e.,
These all cause restify to blow up.
Restify Version
6.x
Node.js Version
All
Cause
Looks like this the arguments parsing in
lib/response.js
's__send
method:The type checks explicitly disallow numbers and bools.
Are you willing and able to fix this?
Yes
The text was updated successfully, but these errors were encountered: