* Started working on LlsdMethod for BaseHttpServer

*Renamed IRestHandler.cs to RestMethod.cs which is the correct name.
This commit is contained in:
lbsa71
2007-07-02 16:03:58 +00:00
parent c25a2fea59
commit fcabdab7bc
7 changed files with 113 additions and 83 deletions

View File

@@ -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;