mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* 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.
This commit is contained in:
@@ -1091,6 +1091,7 @@ namespace OpenSim.Framework.Servers
|
||||
{
|
||||
host = (string)headervals["Host"];
|
||||
}
|
||||
keysvals.Add("headers",headervals);
|
||||
|
||||
if (keysvals.Contains("method"))
|
||||
{
|
||||
@@ -1238,7 +1239,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
byte[] buffer;
|
||||
|
||||
if (!contentType.Contains("image"))
|
||||
if (!(contentType.Contains("image") || contentType.Contains("x-shockwave-flash")))
|
||||
{
|
||||
buffer = Encoding.UTF8.GetBytes(responseString);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user