Mercurial Hosting > luan
diff web/src/luan/modules/web/web_run.luan @ 178:2c08e7e27a70
minor - rename web fn from "page" to "service"
git-svn-id: https://luan-java.googlecode.com/svn/trunk@179 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 23 Jun 2014 20:41:08 +0000 |
parents | bdbd4740121f |
children | 04b86428dc50 |
line wrap: on
line diff
--- a/web/src/luan/modules/web/web_run.luan Mon Jun 23 07:57:12 2014 +0000 +++ b/web/src/luan/modules/web/web_run.luan Mon Jun 23 20:41:08 2014 +0000 @@ -16,7 +16,7 @@ end end -function page() +function service() local content_type = Http.request.get_parameter("content_type") if content_type ~= nil then Http.response.set_content_type(content_type)