Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Feb 8, 2010
1 parent 33eca37 commit 5a11f82
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/express/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,14 @@ exports.Request = Class({
* When no Accept header is present true will be
* returned as stated in the HTTP specification.
*
* @param {[string]} arguments
* Example:
*
* this.accepts('png')
* this.accepts('png', 'jpg', 'gif')
* this.accepts('image.png')
* this.accepts('path/to/image.png')
*
* @param {mixed} ...
* @return {bool}
* @api public
*/
Expand Down

0 comments on commit 5a11f82

Please sign in to comment.