Diff

net/httpserver.lua @ 4196:6de69a07fbf9

net.httpserver: Removed an unused function.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 23 Feb 2011 07:26:54 +0500
parent 4195:6811a229d92c
child 4228:1c2daf61c348
line wrap: on
line diff
--- a/net/httpserver.lua	Wed Feb 23 00:31:12 2011 +0000
+++ b/net/httpserver.lua	Wed Feb 23 07:26:54 2011 +0500
@@ -30,10 +30,6 @@
 
 local default_handler;
 
-local function expectbody(reqt)
-	return reqt.method == "POST";
-end
-
 local function send_response(request, response)
 	-- Write status line
 	local resp;