Diff

net/httpserver.lua @ 3540:bc139431830b

Monster whitespace commit (beware the whitespace monster).
author Waqas Hussain <waqas20@gmail.com>
date Sat, 16 Oct 2010 23:00:42 +0500
parent 3497:e9159b325e33
child 3757:e8be634e217a
line wrap: on
line diff
--- a/net/httpserver.lua	Sat Oct 16 08:34:32 2010 +0500
+++ b/net/httpserver.lua	Sat Oct 16 23:00:42 2010 +0500
@@ -31,7 +31,7 @@
 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 @@
 			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