Skip to content

Commit

Permalink
Merge pull request #266 from cakoose/backport-writeHead-fix
Browse files Browse the repository at this point in the history
writeHead: Don't end() response
  • Loading branch information
brycekahle committed Mar 9, 2020
2 parents 68e8fd7 + 3e975c6 commit dd7e642
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/webjs.coffee
Expand Up @@ -45,9 +45,6 @@ fake_response = (req, res) ->
try
res.write(r.join('\r\n'))
catch x
try
res.end()
catch x
res.setHeader = (k, v) -> headers[k] = v


Expand Down

0 comments on commit dd7e642

Please sign in to comment.