mcavage/node-restify — Issue #63: 204 guide error
Author: kusor
Created: 2012-01-31 17:36:35+00:00
State: open

If you try the guide suggested approach to a `DELETE` request with a `204` status code:

server.del('hello/:name', function rm(req, res, next) {
res.send(204);
return next();
});

you get a response status code of `200` instead of the desired `204`, and a response
`body` of `204`, literally. So, either docs are incorrect, or code is not behaving as
expected :-)

Complete test case to illustrate it here: https://gist.github.com/1711761