diff options
Diffstat (limited to 'Common/OpenSim.Servers')
-rw-r--r-- | Common/OpenSim.Servers/BaseHttpServer.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Common/OpenSim.Servers/BaseHttpServer.cs b/Common/OpenSim.Servers/BaseHttpServer.cs index 71c36a7..1071692 100644 --- a/Common/OpenSim.Servers/BaseHttpServer.cs +++ b/Common/OpenSim.Servers/BaseHttpServer.cs | |||
@@ -213,7 +213,7 @@ namespace OpenSim.Servers | |||
213 | //Console.WriteLine(requestBody); | 213 | //Console.WriteLine(requestBody); |
214 | 214 | ||
215 | string responseString = ""; | 215 | string responseString = ""; |
216 | Console.WriteLine("new request " + request.ContentType); | 216 | //Console.WriteLine("new request " + request.ContentType); |
217 | switch (request.ContentType) | 217 | switch (request.ContentType) |
218 | { | 218 | { |
219 | case "text/xml": | 219 | case "text/xml": |
@@ -228,7 +228,6 @@ namespace OpenSim.Servers | |||
228 | case "application/xml": | 228 | case "application/xml": |
229 | // probably LLSD we hope, otherwise it should be ignored by the parser | 229 | // probably LLSD we hope, otherwise it should be ignored by the parser |
230 | // responseString = ParseLLSDXML(requestBody); | 230 | // responseString = ParseLLSDXML(requestBody); |
231 | Console.WriteLine(" request " + request.HttpMethod + " to " + request.RawUrl); | ||
232 | responseString = ParseREST(requestBody, request.RawUrl, request.HttpMethod); | 231 | responseString = ParseREST(requestBody, request.RawUrl, request.HttpMethod); |
233 | response.AddHeader("Content-type", "application/xml"); | 232 | response.AddHeader("Content-type", "application/xml"); |
234 | break; | 233 | break; |