mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
further work on the HttpServer stuff. not functional yet. just sharing
what crimes i'm committing.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user