We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e556dd3 commit 31bef6bCopy full SHA for 31bef6b
lib/_http_outgoing.js
@@ -519,7 +519,7 @@ OutgoingMessage.prototype.addTrailers = function(headers) {
519
'Trailer name must be a valid HTTP Token ["' + field + '"]');
520
}
521
if (common._checkInvalidHeaderChar(value) === true) {
522
- throw new TypeError('The header content contains invalid characters');
+ throw new TypeError('The trailer content contains invalid characters');
523
524
this._trailer += field + ': ' + escapeHeaderValue(value) + CRLF;
525
0 commit comments