aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseHttpServer.cs
diff options
context:
space:
mode:
authorlbsa712007-07-02 16:03:58 +0000
committerlbsa712007-07-02 16:03:58 +0000
commitfcabdab7bc7466a8a56c0f034c56ca22124e8060 (patch)
tree84c434315a859801fd1b76df6a559eb9ca901dc0 /OpenSim/Framework/Servers/BaseHttpServer.cs
parent* Added support for SL-style RAW export similar to the official simulators op... (diff)
downloadopensim-SC_OLD-fcabdab7bc7466a8a56c0f034c56ca22124e8060.zip
opensim-SC_OLD-fcabdab7bc7466a8a56c0f034c56ca22124e8060.tar.gz
opensim-SC_OLD-fcabdab7bc7466a8a56c0f034c56ca22124e8060.tar.bz2
opensim-SC_OLD-fcabdab7bc7466a8a56c0f034c56ca22124e8060.tar.xz
* Started working on LlsdMethod for BaseHttpServer
*Renamed IRestHandler.cs to RestMethod.cs which is the correct name.
Diffstat (limited to 'OpenSim/Framework/Servers/BaseHttpServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 681bb46..0442b1a 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -224,15 +224,9 @@ namespace OpenSim.Framework.Servers
224 break; 224 break;
225 225
226 case "application/xml": 226 case "application/xml":
227 // probably LLSD we hope, otherwise it should be ignored by the parser
228 // responseString = ParseLLSDXML(requestBody);
229 responseString = ParseREST(requestBody, request.RawUrl, request.HttpMethod);
230 response.AddHeader("Content-type", "application/xml");
231 break;
232
233 case "application/octet-stream": 227 case "application/octet-stream":
234 // probably LLSD we hope, otherwise it should be ignored by the parser 228 // probably LLSD we hope, otherwise it should be ignored by the parser
235 // responseString = ParseLLSDXML(requestBody); 229 // responseString = ParseLLSDXML(requestBody);
236 responseString = ParseREST(requestBody, request.RawUrl, request.HttpMethod); 230 responseString = ParseREST(requestBody, request.RawUrl, request.HttpMethod);
237 response.AddHeader("Content-type", "application/xml"); 231 response.AddHeader("Content-type", "application/xml");
238 break; 232 break;