* Get Requests for OGP don't have a Content-type: application/llsd+xml, they have an Accept: application/llsd+xml.
parent
908f1bcbe2
commit
439dd6cf8f
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue