diff http/src/luan/modules/http/Http.luan @ 495:598123096772

rename service() to respond()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 15 May 2015 18:10:14 -0600
parents 2b9bc97f0439
children 55f9f74f1e55
line wrap: on
line diff
--- a/http/src/luan/modules/http/Http.luan	Fri May 15 17:43:13 2015 -0600
+++ b/http/src/luan/modules/http/Http.luan	Fri May 15 18:10:14 2015 -0600
@@ -13,7 +13,7 @@
 		end
 		local old_out = Io.stdout
 		local mod = require("site:"..path)
-		mod.service()
+		mod.respond()
 		text_writer.close()
 		Io.stdout = old_out
 		return result.read_text()