comparison http/src/luan/modules/http/run.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
comparison
equal deleted inserted replaced
494:2b9bc97f0439 495:598123096772
45 <% Html.simply_html_body_bottom() %> 45 <% Html.simply_html_body_bottom() %>
46 </body> 46 </body>
47 </html> 47 </html>
48 <% end 48 <% end
49 49
50 function service() 50 function respond()
51 Io.stdout = Http.response.text_writer() 51 Io.stdout = Http.response.text_writer()
52 local code = Http.request.parameters.code 52 local code = Http.request.parameters.code
53 if code == nil then 53 if code == nil then
54 form() 54 form()
55 return 55 return