Skip to content
Myr

added charset option back

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 31ff7db · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:lib/response.js+3 added
511 unmodified lines
512513 // status option514 if (options.status) this.statusCode = options.status;515516 // charset option517 if (options.charset) this.charset = options.charset;518519 // default callback to respond520 fn = fn || function(err, str){521 if (err) return req.next(err);522 self.send(str);
5 unmodified lines