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:
TJ Holowaychuk 2013-11-08 14:40:58 -08:00
parent 8b64343813
commit cf580dbaf3

View file

@ -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`.
* *