diff options
author | Justin Clarke Casey | 2008-03-29 22:27:55 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-29 22:27:55 +0000 |
commit | 9acec3506f734fb55c02b71c433474392e38c651 (patch) | |
tree | 61058a3e66dfa036b4c7e446589a6b8269de0205 | |
parent | * Various 1.19.0.5 grid inventory request fixes. These will only take affect... (diff) | |
download | opensim-SC-9acec3506f734fb55c02b71c433474392e38c651.zip opensim-SC-9acec3506f734fb55c02b71c433474392e38c651.tar.gz opensim-SC-9acec3506f734fb55c02b71c433474392e38c651.tar.bz2 opensim-SC-9acec3506f734fb55c02b71c433474392e38c651.tar.xz |
* 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)
-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)); |