diff options
-rw-r--r-- | OpenSim/Grid/InventoryServer/Main.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Grid/InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs index 009f3f1..d1636bc 100644 --- a/OpenSim/Grid/InventoryServer/Main.cs +++ b/OpenSim/Grid/InventoryServer/Main.cs | |||
@@ -106,6 +106,11 @@ namespace OpenSim.Grid.InventoryServer | |||
106 | new RestDeserialisehandler<InventoryItemBase, bool>( | 106 | new RestDeserialisehandler<InventoryItemBase, bool>( |
107 | "POST", "/DeleteItem/", m_inventoryService.DeleteInvItem)); | 107 | "POST", "/DeleteItem/", m_inventoryService.DeleteInvItem)); |
108 | 108 | ||
109 | // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g | ||
110 | // system folders such as Objects, Textures), but it now returns the entire inventory skeleton. | ||
111 | // It would have been better to rename this request, but complexities in the BaseHttpServer | ||
112 | // (e.g. any http request not found is automatically treated as an xmlrpc request) make it easier | ||
113 | // to do this for now. | ||
109 | m_httpServer.AddStreamHandler( | 114 | m_httpServer.AddStreamHandler( |
110 | new RestDeserialisehandler<Guid, List<InventoryFolderBase>> | 115 | new RestDeserialisehandler<Guid, List<InventoryFolderBase>> |
111 | ("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton)); | 116 | ("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton)); |