diff options
author | Teravus Ovares | 2009-01-03 03:30:03 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-01-03 03:30:03 +0000 |
commit | e9cef70f892bfbf4aad0e4471a958367766d849a (patch) | |
tree | 397e078977b430526a2f04041e0dfb9a5fb99156 /OpenSim/Framework/Servers/BaseHttpServer.cs | |
parent | Split agent updates into two messages: full update and position+camera update... (diff) | |
download | opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.zip opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.tar.gz opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.tar.bz2 opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.tar.xz |
* Updates the sim stats module. Cleans out some of the rot.
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
Diffstat (limited to '')
-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 | } |