node-restify icon indicating copy to clipboard operation
node-restify copied to clipboard

Response.send() throws if you pass in a number which is not a valid HTTP Status

Open Adimvicky opened this issue 7 years ago • 4 comments

  • [x] Used appropriate template for the issue type
  • [x] Searched both open and closed issues for duplicates of this issue
  • [x] Title adequately and concisely reflects the feature or the bug

Adimvicky avatar Nov 21 '18 15:11 Adimvicky

do you want it to throw error if the HTTP status is invalid ?

DAMMAK avatar Jan 04 '19 04:01 DAMMAK

or does it throw error if the http status is invalid..

the issue need to be well stated out.. so it can easily fixed.

DAMMAK avatar Jan 04 '19 04:01 DAMMAK

I already opened a PR for this issue here - https://github.com/restify/node-restify/pull/1722

Adimvicky avatar Jan 04 '19 21:01 Adimvicky

ok

DAMMAK avatar Jan 07 '19 11:01 DAMMAK