From 30d1e858a99cd9841645efb1bae01ff540a01307 Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Fri, 27 Apr 2012 06:28:03 +0000 Subject: [PATCH] Some final tweaks to the mod_lua doc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331240 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_lua.html.en | 31 +++++++++++++++++-------------- docs/manual/mod/mod_lua.xml | 26 ++++++++++++-------------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index d89563b123..434dd01d98 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -369,27 +369,30 @@ end

The request_rec has (at least) the following methods:

-

+

         r:addoutputfilter(name|function) -- add an output filter
-        

+ -

- r:parseargs() -- returns a lua table containing the request's - query string arguments -

-

- r:parsebody() -- parse the request body as a POST and return - a lua table -

+
+        r:parseargs() -- returns a lua table containing the request's query string arguments
+        
-

+ +

+        r:parsebody() -- parse the request body as a POST and return  a lua table
+        
+ + +
         r:puts("hello", " world", "!") -- print to response body
-        

+ -

+ +

         r:write("a single string") -- print to response body
-        

+ + diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 8575e201ff..1e40678582 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -332,27 +332,25 @@ end

The request_rec has (at least) the following methods:

- + r:addoutputfilter(name|function) -- add an output filter - + - - r:parseargs() -- returns a lua table containing the request's - query string arguments - + + r:parseargs() -- returns a lua table containing the request's query string arguments + - - r:parsebody() -- parse the request body as a POST and return - a lua table - + + r:parsebody() -- parse the request body as a POST and return a lua table + - + r:puts("hello", " world", "!") -- print to response body - + - + r:write("a single string") -- print to response body - + -- 2.40.0