Diff

net/httpserver.lua @ 4165:9864f1375f3d

net.httpserver: Removed an unused function.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 23 Feb 2011 07:26:54 +0500
parent 4164:843240294be1
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;