Skip to content

Commit

Permalink
writeHead: Don't end() response
Browse files Browse the repository at this point in the history
Backport of #265
  • Loading branch information
cakoose committed Dec 4, 2019
1 parent 14a5c3c commit 3e975c6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/webjs.coffee
Original file line number Diff line number Diff line change
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 3e975c6

Please sign in to comment.