diff options
Diffstat (limited to 'OpenSim/Grid/InventoryServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/InventoryServer/Main.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Grid/InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs index 7560383..537661e 100644 --- a/OpenSim/Grid/InventoryServer/Main.cs +++ b/OpenSim/Grid/InventoryServer/Main.cs | |||
@@ -136,6 +136,10 @@ namespace OpenSim.Grid.InventoryServer | |||
136 | "POST", "/NewFolder/", m_inventoryService.AddFolder, m_inventoryService.CheckAuthSession)); | 136 | "POST", "/NewFolder/", m_inventoryService.AddFolder, m_inventoryService.CheckAuthSession)); |
137 | 137 | ||
138 | m_httpServer.AddStreamHandler( | 138 | m_httpServer.AddStreamHandler( |
139 | new RestDeserialiseTrustedHandler<InventoryFolderBase, bool>( | ||
140 | "POST", "/CreateFolder/", m_inventoryService.AddFolder, m_inventoryService.CheckTrustSource)); | ||
141 | |||
142 | m_httpServer.AddStreamHandler( | ||
139 | new RestDeserialiseSecureHandler<InventoryItemBase, bool>( | 143 | new RestDeserialiseSecureHandler<InventoryItemBase, bool>( |
140 | "POST", "/NewItem/", m_inventoryService.AddItem, m_inventoryService.CheckAuthSession)); | 144 | "POST", "/NewItem/", m_inventoryService.AddItem, m_inventoryService.CheckAuthSession)); |
141 | 145 | ||