Permalink
Browse files

Corrected statuscode of req.send()

req.send() sends 200, not 204. I've corrected it.
  • Loading branch information...
1 parent 54f9e18 commit 1bcbd3e62567bcffdcbfe51558088a37c602e8c3 @dennito dennito committed Jan 1, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers.md
View
@@ -111,7 +111,7 @@ with json, strings for html, Buffer instances, or numbers representing the statu
following are all valid uses:
```javascript
- res.send(); // 204
+ res.send(); // 200
res.send(new Buffer('wahoo'));
res.send({ some: 'json' });
res.send('<p>some html</p>');

0 comments on commit 1bcbd3e

Please sign in to comment.