mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Started working on LlsdMethod for BaseHttpServer
*Renamed IRestHandler.cs to RestMethod.cs which is the correct name.
This commit is contained in:
@@ -224,15 +224,9 @@ namespace OpenSim.Framework.Servers
|
||||
break;
|
||||
|
||||
case "application/xml":
|
||||
// probably LLSD we hope, otherwise it should be ignored by the parser
|
||||
// responseString = ParseLLSDXML(requestBody);
|
||||
responseString = ParseREST(requestBody, request.RawUrl, request.HttpMethod);
|
||||
response.AddHeader("Content-type", "application/xml");
|
||||
break;
|
||||
|
||||
case "application/octet-stream":
|
||||
// probably LLSD we hope, otherwise it should be ignored by the parser
|
||||
// responseString = ParseLLSDXML(requestBody);
|
||||
// responseString = ParseLLSDXML(requestBody);
|
||||
responseString = ParseREST(requestBody, request.RawUrl, request.HttpMethod);
|
||||
response.AddHeader("Content-type", "application/xml");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user