# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1335549903 -3600
# Node ID d085db6285db4eca2f55f66a1c6f17e3b8febcc1
# Parent  a8c23433225830758164ccd70e5d75dc7702aa6a
mod_bosh: Add routes without trailing-'/', so that both /http-bind and /http-bind/ work again

diff -r a8c234332258 -r d085db6285db plugins/mod_bosh.lua
--- a/plugins/mod_bosh.lua	Fri Apr 27 19:02:36 2012 +0100
+++ b/plugins/mod_bosh.lua	Fri Apr 27 19:05:03 2012 +0100
@@ -435,8 +435,11 @@
 	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;
 		};
 	});