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 24183C5FB for ; Thu, 24 May 2012 07:04:25 +0000 (UTC) Received: (qmail 69871 invoked by uid 500); 24 May 2012 07:04:24 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 69607 invoked by uid 500); 24 May 2012 07:04:20 -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 69562 invoked by uid 99); 24 May 2012 07:04:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 07:04:18 +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; Thu, 24 May 2012 07:04:17 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1E0AB238897A; Thu, 24 May 2012 07:03:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1342157 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Date: Thu, 24 May 2012 07:03:57 -0000 To: cvs@httpd.apache.org From: humbedooh@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120524070357.1E0AB238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: humbedooh Date: Thu May 24 07:03:56 2012 New Revision: 1342157 URL: http://svn.apache.org/viewvc?rev=1342157&view=rev Log: Add newlines to example output 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=1342157&r1=1342156&r2=1342157&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Thu May 24 07:03:56 2012 @@ -104,11 +104,11 @@ function handle(r) if r.method == 'GET' then for k, v in pairs( r:parseargs() ) do - r:puts( string.format("%s: %s", k, v) ) + r:puts( string.format("%s: %s\n", k, v) ) end elseif r.method == 'POST' then for k, v in pairs( r:parsebody() ) do - r:puts( string.format("%s: %s", k, v) ) + r:puts( string.format("%s: %s\n", k, v) ) end else r:puts("unknown HTTP method " .. r.method)