Changeset

4165:9864f1375f3d

net.httpserver: Removed an unused function.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 23 Feb 2011 07:26:54 +0500
parents 4164:843240294be1
children 4166:3ac90743039b
files net/httpserver.lua
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
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;