]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Comment out unsupported function calls.
authorDaniel Gruno <humbedooh@apache.org>
Mon, 4 Jun 2012 11:16:00 +0000 (11:16 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Mon, 4 Jun 2012 11:16:00 +0000 (11:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1345917 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index b2d78c6ca32ce286fe8af89ee3280c0f99417b37..265137697e940d1fa9b3a83382a9cc5100e70d3f 100644 (file)
@@ -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>