diff options
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 51658f3..ea356ac 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -1091,6 +1091,7 @@ namespace OpenSim.Framework.Servers | |||
1091 | { | 1091 | { |
1092 | host = (string)headervals["Host"]; | 1092 | host = (string)headervals["Host"]; |
1093 | } | 1093 | } |
1094 | keysvals.Add("headers",headervals); | ||
1094 | 1095 | ||
1095 | if (keysvals.Contains("method")) | 1096 | if (keysvals.Contains("method")) |
1096 | { | 1097 | { |
@@ -1238,7 +1239,7 @@ namespace OpenSim.Framework.Servers | |||
1238 | 1239 | ||
1239 | byte[] buffer; | 1240 | byte[] buffer; |
1240 | 1241 | ||
1241 | if (!contentType.Contains("image")) | 1242 | if (!(contentType.Contains("image") || contentType.Contains("x-shockwave-flash"))) |
1242 | { | 1243 | { |
1243 | buffer = Encoding.UTF8.GetBytes(responseString); | 1244 | buffer = Encoding.UTF8.GetBytes(responseString); |
1244 | } | 1245 | } |