* 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)
parent
875211b262
commit
9acec3506f
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue