Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB6D4DC5C for ; Wed, 22 Aug 2012 07:37:48 +0000 (UTC) Received: (qmail 44844 invoked by uid 500); 22 Aug 2012 07:37:48 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 44799 invoked by uid 500); 22 Aug 2012 07:37:48 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 44775 invoked by uid 99); 22 Aug 2012 07:37:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 07:37:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 07:37:45 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 898E223888E4; Wed, 22 Aug 2012 07:37:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1375911 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml Date: Wed, 22 Aug 2012 07:37:01 -0000 To: cvs@httpd.apache.org From: humbedooh@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120822073701.898E223888E4@eris.apache.org> Author: humbedooh Date: Wed Aug 22 07:37:01 2012 New Revision: 1375911 URL: http://svn.apache.org/viewvc?rev=1375911&view=rev Log: Add back the parsebody references that were commented out, and elaborate on how r:parsebody() works 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=1375911&r1=1375910&r2=1375911&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 Wed Aug 22 07:37:01 2012 @@ -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 else r:puts("Unsupported HTTP method " .. r.method) end @@ -415,12 +413,11 @@ end r:parseargs() -- returns a lua table containing the request's query string arguments - r:puts("hello", " world", "!") -- print to response body