diff options
author | lbsa71 | 2007-07-02 16:03:58 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-02 16:03:58 +0000 |
commit | fcabdab7bc7466a8a56c0f034c56ca22124e8060 (patch) | |
tree | 84c434315a859801fd1b76df6a559eb9ca901dc0 /OpenSim/Framework/Servers/BaseHttpServer.cs | |
parent | * Added support for SL-style RAW export similar to the official simulators op... (diff) | |
download | opensim-SC-fcabdab7bc7466a8a56c0f034c56ca22124e8060.zip opensim-SC-fcabdab7bc7466a8a56c0f034c56ca22124e8060.tar.gz opensim-SC-fcabdab7bc7466a8a56c0f034c56ca22124e8060.tar.bz2 opensim-SC-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.cs | 8 |
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; |