Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • arf/world-storage-api-helpers/unity-world-storage-package
1 result
Show changes
Commits on Source (1)
......@@ -45,9 +45,9 @@ namespace ETSI.ARF.WorldStorage.UI
// Keyvalues
//
[SerializeField] protected KeyvalueTagList keyValueTags = new KeyvalueTagList();
protected List<(string, string)> keyValuesFixed = new List<(string, string)>(3)
protected List<(string, string)> keyValuesFixed = new List<(string, string)>(4)
{
("", ""),("", ""),("", "")
("", ""),("", ""),("", ""),("", "")
};
protected void OutputKeyValue(int n)
{
......
......@@ -247,6 +247,7 @@ namespace ETSI.ARF.WorldStorage.UI
OutputKeyValue(0);
OutputKeyValue(1);
OutputKeyValue(2);
OutputKeyValue(3);
}
EditorGUILayout.EndToggleGroup();
//
......
......@@ -108,9 +108,8 @@ namespace ETSI.ARF.OpenAPI.WorldStorage
{
try
{
List<string> li = item.Value as List<string>;
if (item.Key == "token") webRequest.SetRequestHeader(item.Key, li[0].ToString()); // add it
if (item.Key == "sessionID") webRequest.SetRequestHeader(item.Key, li[0].ToString()); // add it
List<string> li = item.Value.ToList<string>();
webRequest.SetRequestHeader(item.Key, li[0]); // assume only one value
}
catch { } // ignore it
}
......