httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1342157 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Date Thu, 24 May 2012 07:03:57 GMT
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)



Mime
View raw message