* 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)

0.6.0-stable
Justin Clarke Casey 2008-03-29 22:27:55 +00:00
parent 875211b262
commit 9acec3506f
1 changed files with 5 additions and 0 deletions

View File

@ -106,6 +106,11 @@ namespace OpenSim.Grid.InventoryServer
new RestDeserialisehandler<InventoryItemBase, bool>( new RestDeserialisehandler<InventoryItemBase, bool>(
"POST", "/DeleteItem/", m_inventoryService.DeleteInvItem)); "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( m_httpServer.AddStreamHandler(
new RestDeserialisehandler<Guid, List<InventoryFolderBase>> new RestDeserialisehandler<Guid, List<InventoryFolderBase>>
("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton)); ("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton));