diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs index 352c6f6e09..d93124b06c 100644 --- a/OpenSim/Framework/Servers/OSHttpResponse.cs +++ b/OpenSim/Framework/Servers/OSHttpResponse.cs @@ -346,9 +346,9 @@ namespace OpenSim.Framework.Servers public void AddHeader(string key, string value) { if (HttpServer) - _headers.Add(key, value); - else _httpResponse.AddHeader(key, value); + else + _headers.Add(key, value); } ///