Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jun 18, 2012
1 parent 1a10ee7 commit 2e324cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/request.js
Expand Up @@ -165,6 +165,8 @@ req.acceptsLanguage = function(lang){
* default:
* if ('users' != range.type) return res.send(416);
* range = range.shift();
* res.status(206); // partial content
* res.set('Content-Range', 'users ' + range.start + '-' + range.end + '/' + users.length);
* res.send(users.slice(range.start, ++range.end));
* }
* });
Expand Down

0 comments on commit 2e324cc

Please sign in to comment.