diff options
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; |