aboutsummaryrefslogtreecommitdiffstats
path: root/net/httpserver.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-10-16 23:00:42 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-10-16 23:00:42 +0500
commitb7e51a203d3d95961294c711ae0d9c449ddb040d (patch)
tree376af083a7225da43a8659f6d0d6184966d10baa /net/httpserver.lua
parent85b44a1dfd59fee9a26527cc759ef72780a1668c (diff)
downloadprosody-b7e51a203d3d95961294c711ae0d9c449ddb040d.tar.gz
prosody-b7e51a203d3d95961294c711ae0d9c449ddb040d.zip
Monster whitespace commit (beware the whitespace monster).
Diffstat (limited to 'net/httpserver.lua')
-rw-r--r--net/httpserver.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index b6a080b6..ca830a5a 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -31,7 +31,7 @@ module "httpserver"
local default_handler;
local function expectbody(reqt)
- return reqt.method == "POST";
+ return reqt.method == "POST";
end
local function send_response(request, response)
@@ -212,8 +212,8 @@ function new_from_config(ports, handle_request, default_options)
ssl.options = "no_sslv2";
end
- new{ port = port, interface = interface,
- base = base, handler = handle_request,
+ new{ port = port, interface = interface,
+ base = base, handler = handle_request,
ssl = ssl, type = (ssl and "ssl") or "tcp" };
end
end