Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim

This commit is contained in:
Diva Canto
2009-08-17 13:27:22 -07:00
10 changed files with 120 additions and 36 deletions

View File

@@ -33,6 +33,7 @@ using System.IO;
using System.Net;
using System.Reflection;
using System.Text;
using System.Web;
using HttpServer;
using log4net;
@@ -72,6 +73,18 @@ namespace OpenSim.Framework.Servers.HttpServer
}
private string _contentType;
public HttpCookieCollection Cookies
{
get
{
RequestCookies cookies = _request.Cookies;
HttpCookieCollection httpCookies = new HttpCookieCollection();
foreach (RequestCookie cookie in cookies)
httpCookies.Add(new HttpCookie(cookie.Name, cookie.Value));
return httpCookies;
}
}
public bool HasEntityBody
{
get { return _request.ContentLength != 0; }

View File

@@ -325,6 +325,8 @@ namespace OpenSim.Framework.Tests
{
//spurious litjson errors :P
map2 = map;
Assert.That(1==1);
return;
}
AgentCircuitData Agent2Data = new AgentCircuitData();