diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpResponse.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs index 352c6f6..d93124b 100644 --- a/OpenSim/Framework/Servers/OSHttpResponse.cs +++ b/OpenSim/Framework/Servers/OSHttpResponse.cs | |||
@@ -346,9 +346,9 @@ namespace OpenSim.Framework.Servers | |||
346 | public void AddHeader(string key, string value) | 346 | public void AddHeader(string key, string value) |
347 | { | 347 | { |
348 | if (HttpServer) | 348 | if (HttpServer) |
349 | _headers.Add(key, value); | ||
350 | else | ||
351 | _httpResponse.AddHeader(key, value); | 349 | _httpResponse.AddHeader(key, value); |
350 | else | ||
351 | _headers.Add(key, value); | ||
352 | } | 352 | } |
353 | 353 | ||
354 | /// <summary> | 354 | /// <summary> |