change 535cb0efc so that the default LLSD serialization format is

llsd+xml instead of llsd+json --- the latter seems to break existing
bots. this assumes that those bots that want llsd+json will properly
signal that desire, if that is not the case, we need to revisit
this. fixes mantis #3977.
arthursv
dr scofield (aka dirk husemann) 2009-08-12 14:49:59 +02:00
parent eedb155502
commit 613e6f07fc
1 changed files with 4 additions and 2 deletions

View File

@ -964,8 +964,10 @@ namespace OpenSim.Framework.Servers.HttpServer
}
}
response.ContentType = "application/llsd+json";
return Encoding.UTF8.GetBytes(OSDParser.SerializeJsonString(llsdResponse));
// response.ContentType = "application/llsd+json";
// return Encoding.UTF8.GetBytes(OSDParser.SerializeJsonString(llsdResponse));
response.ContentType = "application/llsd+xml";
return OSDParser.SerializeLLSDXmlBytes(llsdResponse);
}
/// <summary>