further work on the HttpServer stuff. not functional yet. just sharing

what crimes i'm committing.
This commit is contained in:
Dr Scofield
2008-06-25 13:10:12 +00:00
parent b713f4a540
commit daca971bf6
4 changed files with 126 additions and 11 deletions

View File

@@ -30,11 +30,15 @@ using System.Collections.Specialized;
using System.Net;
using System.IO;
using System.Text;
using HttpServer;
namespace OpenSim.Framework.Servers
{
public class OSHttpRequest
{
/// <remarks>
/// soon to be deprecated
/// </remarks>
private string[] _acceptTypes;
private Encoding _contentEncoding;
private long _contentLength64;
@@ -52,6 +56,9 @@ namespace OpenSim.Framework.Servers
private NameValueCollection _queryString;
private string _userAgent;
private HttpRequest _request;
private HttpClientContext _context;
public string[] AcceptTypes
{
get { return _acceptTypes; }
@@ -160,5 +167,11 @@ namespace OpenSim.Framework.Servers
_queryString = req.QueryString;
_userAgent = req.UserAgent;
}
public OSHttpRequest(HttpClientContext context, HttpRequest req)
{
_context = context;
_request = req;
}
}
}