mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Get Requests for OGP don't have a Content-type: application/llsd+xml, they have an Accept: application/llsd+xml.
This commit is contained in:
@@ -390,6 +390,18 @@ namespace OpenSim.Framework.Servers
|
||||
return;
|
||||
}
|
||||
|
||||
if (request.AcceptTypes.Length > 0)
|
||||
{
|
||||
foreach (string strAccept in request.AcceptTypes)
|
||||
{
|
||||
if (strAccept == "application/llsd+xml")
|
||||
{
|
||||
HandleLLSDRequests(request, response);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch (request.ContentType)
|
||||
{
|
||||
case null:
|
||||
|
||||
Reference in New Issue
Block a user