diff options
author | Dr Scofield | 2008-08-20 15:28:51 +0000 |
---|---|---|
committer | Dr Scofield | 2008-08-20 15:28:51 +0000 |
commit | 2363cd2113261ac456e18f79e9e37622d2c7eca7 (patch) | |
tree | c58698b7269653d0df5adab697f66d86a425036e /OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs | |
parent | oops. forgot. (diff) | |
download | opensim-SC-2363cd2113261ac456e18f79e9e37622d2c7eca7.zip opensim-SC-2363cd2113261ac456e18f79e9e37622d2c7eca7.tar.gz opensim-SC-2363cd2113261ac456e18f79e9e37622d2c7eca7.tar.bz2 opensim-SC-2363cd2113261ac456e18f79e9e37622d2c7eca7.tar.xz |
fixing Rest/Inventory stuff again. changes somehow got lost locally.
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 | ||