Added http handlers for the two new inventory operations.

This commit is contained in:
Diva Canto
2009-08-11 12:30:28 -07:00
parent dc897b2288
commit e3dbd0e049
2 changed files with 46 additions and 4 deletions

View File

@@ -165,8 +165,8 @@ namespace OpenSim.Services.Connectors
{
try
{
return SynchronousRestSessionObjectPoster<string, Dictionary<AssetType, InventoryFolderBase>>.BeginPostObject(
"GET", m_ServerURI + "/SystemFolders/", userID, sessionID.ToString(), userID.ToString());
return SynchronousRestSessionObjectPoster<Guid, Dictionary<AssetType, InventoryFolderBase>>.BeginPostObject(
"GET", m_ServerURI + "/SystemFolders/", new Guid(userID), sessionID.ToString(), userID.ToString());
}
catch (Exception e)
{
@@ -187,8 +187,8 @@ namespace OpenSim.Services.Connectors
{
try
{
return SynchronousRestSessionObjectPoster<UUID, InventoryCollection>.BeginPostObject(
"GET", m_ServerURI + "/GetFolderContents/", folderID, sessionID.ToString(), userID.ToString());
return SynchronousRestSessionObjectPoster<Guid, InventoryCollection>.BeginPostObject(
"POST", m_ServerURI + "/GetFolderContent/", folderID.Guid, sessionID.ToString(), userID.ToString());
}
catch (Exception e)
{