]> granicus.if.org Git - apache/commitdiff
Backport r1342157
authorDaniel Gruno <humbedooh@apache.org>
Thu, 24 May 2012 07:06:19 +0000 (07:06 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Thu, 24 May 2012 07:06:19 +0000 (07:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1342159 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

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