mirror of
https://github.com/apache/httpd.git
synced 2025-07-29 09:01:18 +03:00
rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1342158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -138,11 +138,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)
|
||||
|
Reference in New Issue
Block a user