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
parent
eedb155502
commit
613e6f07fc
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue