From 675c033e6add74021e8298e75fc34170d66c0d4a Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Mon, 4 Jun 2012 11:16:00 +0000 Subject: [PATCH] Comment out unsupported function calls. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1345917 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_lua.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index b2d78c6ca32..265137697e9 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -105,13 +105,15 @@ function handle(r) if r.method == 'GET' then for k, v in pairs( r:parseargs() ) do r:puts( string.format("%s: %s\n", k, v) ) - end + end else - r:puts("unknown HTTP method " .. r.method) + r:puts("Unsupported HTTP method " .. r.method) end end @@ -339,11 +341,12 @@ end r:parseargs() -- returns a lua table containing the request's query string arguments - + r:puts("hello", " world", "!") -- print to response body -- 2.47.2