From 8bdbdf48c7896a7cb47d49544ab528a508e557c9 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 5 Jul 2007 18:30:30 +0000 Subject: * updated bugfixed xmlrpc for massive win * got rid of the ugliest hack in the project --- OpenSim/Framework/Servers/BaseHttpServer.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 84af9f6..f790477 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -173,12 +173,8 @@ namespace OpenSim.Framework.Servers string responseString = XmlRpcResponseSerializer.Singleton.Serialize(xmlRpcResponse); - // This must be absolutely fuggliest hack in this project. Don't just stand there, DO SOMETHING! - responseString = Regex.Replace(responseString, "utf-16", "utf-8"); - byte[] buffer = Encoding.UTF8.GetBytes(responseString); - - + response.SendChunked = false; response.ContentLength64 = buffer.Length; response.ContentEncoding = Encoding.UTF8; -- cgit v1.1