Skip to content
Myr

misc refactor

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 06fda62 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/response.js+1 added-1 removed
212 unmodified lines
213 var sentHeader = self._header;214 if (err) {215 if (!sentHeader) self.removeHeader('Content-Disposition');216 if (sentHeader) {217 if (fn2) fn2(err);217 fn2 && fn2(err);218 } else if (fn) {219 fn(err);220 } else {221 self.req.next(err);
202 unmodified lines