projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e763e01
)
net.httpserver: Removed an unused function.
author
Waqas Hussain
<waqas20@gmail.com>
Wed, 23 Feb 2011 02:26:54 +0000
(07:26 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Wed, 23 Feb 2011 02:26:54 +0000
(07:26 +0500)
net/httpserver.lua
patch
|
blob
|
history
diff --git
a/net/httpserver.lua
b/net/httpserver.lua
index 36c04c3f07900386167d13d6ed83e795aa6be6c1..e0fd3f866a2785ebc573f43d96857236d4103705 100644
(file)
--- 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;