From 9acec3506f734fb55c02b71c433474392e38c651 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 29 Mar 2008 22:27:55 +0000 Subject: * CODE: Add phat warning to RootFolders http request since it no longer does what it used to do (not that the name was actually accurate in the first place) --- OpenSim/Grid/InventoryServer/Main.cs | 5 +++++ 1 file changed, 5 insertions(+) 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 new RestDeserialisehandler( "POST", "/DeleteItem/", m_inventoryService.DeleteInvItem)); + // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g + // system folders such as Objects, Textures), but it now returns the entire inventory skeleton. + // It would have been better to rename this request, but complexities in the BaseHttpServer + // (e.g. any http request not found is automatically treated as an xmlrpc request) make it easier + // to do this for now. m_httpServer.AddStreamHandler( new RestDeserialisehandler> ("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton)); -- cgit v1.1