Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs

  • Loading branch information...
commit 908e4675482e063c2d974ab9b63f7ec27b3829dd 1 parent 3c6ad53
@tj tj authored
Showing with 0 additions and 11 deletions.
  1. +0 −11 lib/request.js
View
11 lib/request.js
@@ -260,17 +260,6 @@ req.param = function(name, defaultValue){
* req.is('html');
* // => false
*
- * Now within our route callbacks, we can use to to assert content types
- * such as "image/jpeg", "image/png" as shown here:
- *
- * app.post('/image/upload', function(req, res, next){
- * if (req.is('image/*')) {
- * // do something
- * } else {
- * next();
- * }
- * });
- *
* @param {String} type
* @return {Boolean}
* @api public
Please sign in to comment.
Something went wrong with that request. Please try again.