From 3b6787fdd9515aeecf7bd16a0e24bb6e3fd0ed71 Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Wed, 22 Aug 2012 07:37:01 +0000 Subject: [PATCH] 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 --- docs/manual/mod/mod_lua.xml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 -- 2.40.0