* 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.

0.6.0-stable
Teravus Ovares 2008-09-23 01:54:04 +00:00
parent 48672c7fd6
commit 611ffa3f60
2 changed files with 10 additions and 3 deletions

View File

@ -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);

View File

@ -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;
}