remove the vary method from request object
This commit is contained in:
parent
420a6154bc
commit
30d200dc09
2 changed files with 0 additions and 15 deletions
|
@ -315,10 +315,6 @@ this.acceptsLanguages();
|
||||||
|
|
||||||
Return the request socket.
|
Return the request socket.
|
||||||
|
|
||||||
### req.vary(field)
|
|
||||||
|
|
||||||
Vary on `field`.
|
|
||||||
|
|
||||||
### req.get(field)
|
### req.get(field)
|
||||||
|
|
||||||
Return request header.
|
Return request header.
|
||||||
|
|
|
@ -459,17 +459,6 @@ module.exports = {
|
||||||
return this.accept.languages.apply(this.accept, arguments);
|
return this.accept.languages.apply(this.accept, arguments);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
|
||||||
* Vary on `field`.
|
|
||||||
*
|
|
||||||
* @param {String} field
|
|
||||||
* @api public
|
|
||||||
*/
|
|
||||||
|
|
||||||
vary: function(field){
|
|
||||||
this.append('Vary', field);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the incoming request contains the "Content-Type"
|
* Check if the incoming request contains the "Content-Type"
|
||||||
* header field, and it contains any of the give mime `type`s.
|
* header field, and it contains any of the give mime `type`s.
|
||||||
|
|
Loading…
Reference in a new issue