You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/07/01 17:19:14 UTC
svn commit: r1355929 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Author: humbedooh
Date: Sun Jul 1 15:19:14 2012
New Revision: 1355929
URL: http://svn.apache.org/viewvc?rev=1355929&view=rev
Log:
Re-add r:parsebody() as a valid function
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?rev=1355929&r1=1355928&r2=1355929&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Sun Jul 1 15:19:14 2012
@@ -411,14 +411,13 @@ end
</highlight>
<highlight language="lua">
- 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
</highlight>
-<!--
-/* Not supported yet */
+
<highlight language="lua">
- r:parsebody() ‐- parse the request body as a POST and return a lua table
+ r:parsebody() -- parse any POST data in the request and return it as a Lua table
</highlight>
--->
+
<highlight language="lua">
r:puts("hello", " world", "!") -- print to response body
</highlight>