Skip to content
Myr

res.send() only setting Content-Type when not already present

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 1397fa6 · Browse files · 2 files+19 added−5 removed
This commit

State

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

Diff stats

2 files+19 added−5 removed

  • tests:+10 added−2 removed
  • other:+9 added−3 removed

2 files+19 added−5 removed

modified:lib/express/response.js+9 added-3 removed
modified:test/response.test.js+10 added-2 removed