Close repsonse on halt (#246)
This commit is contained in:
parent
749c101d2e
commit
7688bd13a5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue