mirror of
https://github.com/opensim/opensim.git
synced 2026-07-13 19:14:51 +08:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user