aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 991ef970..0682d6ed 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -199,7 +199,7 @@ local function handle_result(request, response, result)
end
end
end
- response:send(body);
+ return response:send(body);
end
function _M.hijack_response(response, listener) -- luacheck: ignore