diff web/src/luan/modules/web/web_run.luan @ 226:392105b660d7

add LuanProperty git-svn-id: https://luan-java.googlecode.com/svn/trunk@227 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 22 Jul 2014 06:23:13 +0000
parents b76fcb72d97d
children 82a3ebcfbafa
line wrap: on
line diff
--- a/web/src/luan/modules/web/web_run.luan	Tue Jul 22 03:06:27 2014 +0000
+++ b/web/src/luan/modules/web/web_run.luan	Tue Jul 22 06:23:13 2014 +0000
@@ -21,7 +21,7 @@
 function service()
 	local content_type = Http.request.parameters.content_type
 	if content_type ~= nil then
-		Http.response.set_content_type(content_type)
+		Http.response.content_type = content_type
 	end
 	Io.stdout = Http.response.text_writer()
 	local code = Http.request.parameters.code