From: Daniel Gruno Date: Wed, 22 Aug 2012 07:37:01 +0000 (+0000) Subject: Add back the parsebody references that were commented out, and elaborate on how r... X-Git-Tag: 2.4.4~641 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b6787fdd9515aeecf7bd16a0e24bb6e3fd0ed71;p=apache Add back the parsebody references that were commented out, and elaborate on how r:parsebody() works git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1375911 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index f7de9f29d1..f23a6c7d25 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -105,13 +105,11 @@ 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 else r:puts("Unsupported HTTP method " .. r.method) end @@ -415,12 +413,11 @@ end r:parseargs() -- returns a lua table containing the request's query string arguments - r:puts("hello", " world", "!") -- print to response body