From 439dd6cf8faa904a94d978f74b4780e59f9bb63f Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 23 Sep 2008 18:41:26 +0000 Subject: * Get Requests for OGP don't have a Content-type: application/llsd+xml, they have an Accept: application/llsd+xml. --- OpenSim/Framework/Servers/BaseHttpServer.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'OpenSim/Framework/Servers/BaseHttpServer.cs') diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 4399a75..aa73658 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -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: -- cgit v1.1