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
commit6bac77b06f0e115e95ea2e4dbb51db1cfe94d954 (patch)
treeb6bba82899070550c27849954b7d53ea09b40764 /net/httpserver.lua
parente3d06ad37002b110f1c37ae46a80f3e707be4216 (diff)
downloadprosody-6bac77b06f0e115e95ea2e4dbb51db1cfe94d954.tar.gz
prosody-6bac77b06f0e115e95ea2e4dbb51db1cfe94d954.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;