remove trailer methods
less common than .auth which we removed as well but we can add them back if it becomes a common request
This commit is contained in:
parent
8b64343813
commit
cf580dbaf3
1 changed files with 0 additions and 25 deletions
|
@ -924,31 +924,6 @@ Context.prototype = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the trailing headers to a request.
|
|
||||||
*
|
|
||||||
* @param {Object}
|
|
||||||
* @api public
|
|
||||||
*/
|
|
||||||
|
|
||||||
get trailers() {
|
|
||||||
return this.req.trailers;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add trailing headers to the response.
|
|
||||||
*
|
|
||||||
* Maybe:
|
|
||||||
* - throw if not chunked encoding
|
|
||||||
*
|
|
||||||
* @param {object} headers
|
|
||||||
* @api public
|
|
||||||
*/
|
|
||||||
|
|
||||||
addTrailers: function(headers){
|
|
||||||
return this.res.addTrailers(headers);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Append `val` to header `field`.
|
* Append `val` to header `field`.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue