diff options
author | Teravus Ovares | 2008-09-23 18:41:26 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-09-23 18:41:26 +0000 |
commit | 439dd6cf8faa904a94d978f74b4780e59f9bb63f (patch) | |
tree | 6b6de6fb539e21d0347290570ec05fed10a47fe7 /OpenSim/Framework | |
parent | check in stubbing for mysql tests. This is ignored with (diff) | |
download | opensim-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.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 12 |
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: |