
humbedooh at apache
May 24, 2012, 12:06 AM
Post #1 of 1
(36 views)
Permalink
|
|
svn commit: r1342159 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml
|
|
Author: humbedooh Date: Thu May 24 07:06:19 2012 New Revision: 1342159 URL: http://svn.apache.org/viewvc?rev=1342159&view=rev Log: Backport r1342157 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=1342159&r1=1342158&r2=1342159&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 Thu May 24 07:06:19 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)
|