]> granicus.if.org Git - apache/commitdiff
Add back the parsebody reference in the handler example.
authorDaniel Gruno <humbedooh@apache.org>
Wed, 20 Jun 2012 11:24:28 +0000 (11:24 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 20 Jun 2012 11:24:28 +0000 (11:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1352048 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index abb531d34f7bebc1e9f15d987ea777a250023644..5d2f5bafacf1f63af3fbb69ee31645085ac23edb 100644 (file)
@@ -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<!--
-/* Not supported yet */
+        end
     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("Unsupported HTTP method " .. r.method)
     end