* Get Requests for OGP don't have a Content-type: application/llsd+xml, they have an Accept: application/llsd+xml.

0.6.0-stable
Teravus Ovares 2008-09-23 18:41:26 +00:00
parent 908f1bcbe2
commit 439dd6cf8f
1 changed files with 12 additions and 0 deletions

View File

@ -390,6 +390,18 @@ namespace OpenSim.Framework.Servers
return; return;
} }
if (request.AcceptTypes.Length > 0)
{
foreach (string strAccept in request.AcceptTypes)
{
if (strAccept == "application/llsd+xml")
{
HandleLLSDRequests(request, response);
return;
}
}
}
switch (request.ContentType) switch (request.ContentType)
{ {
case null: case null: