Close repsonse on halt (#246)

This commit is contained in:
Sam Eaton 2016-11-07 12:31:36 -07:00 committed by Serdar Dogruyol
parent 749c101d2e
commit 7688bd13a5

View file

@ -73,5 +73,6 @@ end
macro halt(env, status_code = 200, response = "")
{{env}}.response.status_code = {{status_code}}
{{env}}.response.print {{response}}
{{env}}.response.close
next
end