aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-23 18:41:26 +0000
committerTeravus Ovares2008-09-23 18:41:26 +0000
commit439dd6cf8faa904a94d978f74b4780e59f9bb63f (patch)
tree6b6de6fb539e21d0347290570ec05fed10a47fe7
parentcheck in stubbing for mysql tests. This is ignored with (diff)
downloadopensim-SC-439dd6cf8faa904a94d978f74b4780e59f9bb63f.zip
opensim-SC-439dd6cf8faa904a94d978f74b4780e59f9bb63f.tar.gz
opensim-SC-439dd6cf8faa904a94d978f74b4780e59f9bb63f.tar.bz2
opensim-SC-439dd6cf8faa904a94d978f74b4780e59f9bb63f.tar.xz
* Get Requests for OGP don't have a Content-type: application/llsd+xml, they have an Accept: application/llsd+xml.
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs12
1 files changed, 12 insertions, 0 deletions
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
390 return; 390 return;
391 } 391 }
392 392
393 if (request.AcceptTypes.Length > 0)
394 {
395 foreach (string strAccept in request.AcceptTypes)
396 {
397 if (strAccept == "application/llsd+xml")
398 {
399 HandleLLSDRequests(request, response);
400 return;
401 }
402 }
403 }
404
393 switch (request.ContentType) 405 switch (request.ContentType)
394 { 406 {
395 case null: 407 case null: