diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs | 12 |
1 files changed, 1 insertions, 11 deletions
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 | |||
56 | public class RestHandler : RestPlugin, IRestHandler, IHttpAgentHandler | 56 | public class RestHandler : RestPlugin, IRestHandler, IHttpAgentHandler |
57 | { | 57 | { |
58 | 58 | ||
59 | /// <remarks> | ||
60 | /// The handler delegates are not noteworthy. The allocator allows | ||
61 | /// a given handler to optionally subclass the base RequestData | ||
62 | /// structure to carry any locally required per-request state | ||
63 | /// needed. | ||
64 | /// </remarks> | ||
65 | |||
66 | // internal delegate void RestMethodHandler(RequestData rdata); | ||
67 | // internal delegate RequestData RestMethodAllocator(OSHttpRequest request, OSHttpResponse response); | ||
68 | |||
69 | // Handler tables: both stream and REST are supported. The path handlers and their | 59 | // Handler tables: both stream and REST are supported. The path handlers and their |
70 | // respective allocators are stored in separate tables. | 60 | // respective allocators are stored in separate tables. |
71 | 61 | ||
@@ -623,7 +613,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
623 | if (!String.IsNullOrEmpty(bestMatch)) | 613 | if (!String.IsNullOrEmpty(bestMatch)) |
624 | { | 614 | { |
625 | 615 | ||
626 | rdata = pathAllocators[bestMatch](request, response); | 616 | rdata = pathAllocators[bestMatch](request, response, bestMatch); |
627 | 617 | ||
628 | Rest.Log.DebugFormat("{0} Path based REST handler matched with <{1}>", MsgId, bestMatch); | 618 | Rest.Log.DebugFormat("{0} Path based REST handler matched with <{1}>", MsgId, bestMatch); |
629 | 619 | ||