From 2363cd2113261ac456e18f79e9e37622d2c7eca7 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Wed, 20 Aug 2008 15:28:51 +0000 Subject: fixing Rest/Inventory stuff again. changes somehow got lost locally. --- OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs') diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs index cb80846..61cf0e4 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs @@ -56,16 +56,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory public class RestHandler : RestPlugin, IRestHandler, IHttpAgentHandler { - /// - /// The handler delegates are not noteworthy. The allocator allows - /// a given handler to optionally subclass the base RequestData - /// structure to carry any locally required per-request state - /// needed. - /// - - // internal delegate void RestMethodHandler(RequestData rdata); - // internal delegate RequestData RestMethodAllocator(OSHttpRequest request, OSHttpResponse response); - // Handler tables: both stream and REST are supported. The path handlers and their // respective allocators are stored in separate tables. @@ -623,7 +613,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory if (!String.IsNullOrEmpty(bestMatch)) { - rdata = pathAllocators[bestMatch](request, response); + rdata = pathAllocators[bestMatch](request, response, bestMatch); Rest.Log.DebugFormat("{0} Path based REST handler matched with <{1}>", MsgId, bestMatch); -- cgit v1.1