aboutsummaryrefslogtreecommitdiffstats
path: root/net/httpserver.lua
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
commit9007a8991999d057a4effcaa4f93022c14fee1d6 (patch)
tree018b99f76d76296c225e9c670a07577fc36a55c3 /net/httpserver.lua
parent89f544c8bb40b2c7d7d629a495d30cf025ad9f8e (diff)
downloadprosody-9007a8991999d057a4effcaa4f93022c14fee1d6.tar.gz
prosody-9007a8991999d057a4effcaa4f93022c14fee1d6.zip
net.httpserver: Removed an unused function.
Diffstat (limited to 'net/httpserver.lua')
-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;