aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2011-02-23 07:26:54 +0500
committerWaqas Hussain <waqas20@gmail.com>2011-02-23 07:26:54 +0500
commited36a87ee6e8badce7acce4ba387b0474024f200 (patch)
tree018b99f76d76296c225e9c670a07577fc36a55c3
parent479cbc73edad9ae259448e46e58ff6845d7560f9 (diff)
downloadprosody-ed36a87ee6e8badce7acce4ba387b0474024f200.tar.gz
prosody-ed36a87ee6e8badce7acce4ba387b0474024f200.zip
net.httpserver: Removed an unused function.
-rw-r--r--net/httpserver.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index 36c04c3f..e0fd3f86 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -30,10 +30,6 @@ module "httpserver"
local default_handler;
-local function expectbody(reqt)
- return reqt.method == "POST";
-end
-
local function send_response(request, response)
-- Write status line
local resp;