Software /
code /
prosody
Comparison
net/http/server.lua @ 10393:0ea7b4769096
net.http.server: Tail call because tail call!
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 01 Nov 2019 22:28:39 +0100 |
parent | 10392:7a95f27ac9d6 |
child | 10394:955e54e451dc |
comparison
equal
deleted
inserted
replaced
10392:7a95f27ac9d6 | 10393:0ea7b4769096 |
---|---|
197 response.headers[header_name] = header_value; | 197 response.headers[header_name] = header_value; |
198 end | 198 end |
199 end | 199 end |
200 end | 200 end |
201 end | 201 end |
202 response:send(body); | 202 return response:send(body); |
203 end | 203 end |
204 | 204 |
205 function _M.hijack_response(response, listener) -- luacheck: ignore | 205 function _M.hijack_response(response, listener) -- luacheck: ignore |
206 error("TODO"); | 206 error("TODO"); |
207 end | 207 end |