aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_bosh.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 13cea911..84adb369 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -435,8 +435,11 @@ function module.add_host(module)
module:provides("http", {
default_path = "/http-bind";
route = {
+ ["GET"] = handle_GET;
["GET /"] = handle_GET;
+ ["OPTIONS"] = handle_OPTIONS;
["OPTIONS /"] = handle_OPTIONS;
+ ["POST"] = handle_POST;
["POST /"] = handle_POST;
};
});