* Assume that asset data in a reset inventory post is not inlined by default
* This means that the xml of a get request can be used as the input with a few value tweaks, instead of having to explicitly put inline="false" in the output xml0.6.1-post-fixes
parent
733faf9748
commit
2cf0be7d58
|
@ -1243,7 +1243,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
|
||||||
/// <param name=rdata>HTTP service request work area</param>
|
/// <param name=rdata>HTTP service request work area</param>
|
||||||
/// <param name=folder>The folder to be searched (parent)</param>
|
/// <param name=folder>The folder to be searched (parent)</param>
|
||||||
/// <param name=indent>pretty print indentation</param>
|
/// <param name=indent>pretty print indentation</param>
|
||||||
|
|
||||||
private void formatInventory(InventoryRequestData rdata, InventoryFolderBase folder, string indent)
|
private void formatInventory(InventoryRequestData rdata, InventoryFolderBase folder, string indent)
|
||||||
{
|
{
|
||||||
if (Rest.DEBUG)
|
if (Rest.DEBUG)
|
||||||
|
@ -1325,7 +1324,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
|
||||||
rdata.writer.WriteAttributeString("everyone", String.Empty, i.EveryOnePermissions.ToString("X"));
|
rdata.writer.WriteAttributeString("everyone", String.Empty, i.EveryOnePermissions.ToString("X"));
|
||||||
rdata.writer.WriteAttributeString("base", String.Empty, i.BasePermissions.ToString("X"));
|
rdata.writer.WriteAttributeString("base", String.Empty, i.BasePermissions.ToString("X"));
|
||||||
rdata.writer.WriteEndElement();
|
rdata.writer.WriteEndElement();
|
||||||
|
|
||||||
rdata.writer.WriteElementString("Asset", i.AssetID.ToString());
|
rdata.writer.WriteElementString("Asset", i.AssetID.ToString());
|
||||||
|
|
||||||
rdata.writer.WriteEndElement();
|
rdata.writer.WriteEndElement();
|
||||||
|
@ -1795,7 +1794,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
|
||||||
bool local = false;
|
bool local = false;
|
||||||
|
|
||||||
// This is not a persistent attribute
|
// This is not a persistent attribute
|
||||||
bool inline = true;
|
bool inline = false;
|
||||||
|
|
||||||
UUID uuid = UUID.Zero;
|
UUID uuid = UUID.Zero;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue