* Update in OGP draft 3 protocol spec with regards to seed region requests running over GET instead of POST and the rez_avatar/request cap being wrapped in the capabilities map.
parent
48672c7fd6
commit
611ffa3f60
|
@ -610,6 +610,11 @@ namespace OpenSim.Framework.Servers
|
|||
|
||||
bool LegacyLLSDLoginLibOMV = (requestBody.Contains("passwd") && requestBody.Contains("mac") && requestBody.Contains("viewer_digest"));
|
||||
|
||||
if (requestBody.Length == 0)
|
||||
// Get Request
|
||||
{
|
||||
requestBody = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><llsd><map><key>request</key><string>get</string></map></llsd>";
|
||||
}
|
||||
try
|
||||
{
|
||||
llsdRequest = LLSDParser.DeserializeXml(requestBody);
|
||||
|
|
|
@ -335,7 +335,9 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
|
|||
}
|
||||
|
||||
responseMap["connect"] = LLSD.FromBoolean(true);
|
||||
responseMap["rez_avatar/request"] = LLSD.FromString(rezHttpProtocol + httpaddr + ":" + urlport + requestpath);
|
||||
LLSDMap capabilitiesMap = new LLSDMap();
|
||||
capabilitiesMap["rez_avatar/request"] = LLSD.FromString(rezHttpProtocol + httpaddr + ":" + urlport + requestpath);
|
||||
responseMap["capabilities"] = capabilitiesMap;
|
||||
|
||||
return responseMap;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue