httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1345920 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml
Date Mon, 04 Jun 2012 11:21:19 GMT
Author: humbedooh
Date: Mon Jun  4 11:21:19 2012
New Revision: 1345920

URL: http://svn.apache.org/viewvc?rev=1345920&view=rev
Log:
Comment out unsupported function calls.

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml?rev=1345920&r1=1345919&r2=1345920&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml Mon Jun  4 11:21:19 2012
@@ -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<!--
+/* Not supported yet */
     elseif r.method == 'POST' then
         for k, v in pairs( r:parsebody() ) do
             r:puts( string.format("%s: %s\n", k, v) )
         end
+-->
     else
-        r:puts("unknown HTTP method " .. r.method)
+        r:puts("Unsupported HTTP method " .. r.method)
     end
 end
 </highlight>
@@ -339,11 +341,12 @@ end
         <highlight language="lua">
         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() &dash;- parse the request body as a POST and return  a lua table
         </highlight>
-
+-->
         <highlight language="lua">
         r:puts("hello", " world", "!") -- print to response body
         </highlight>



Mime
View raw message