mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Formatting cleanup.
This commit is contained in:
@@ -38,42 +38,35 @@ namespace OpenSim.Framework.Servers
|
||||
{
|
||||
public class OSHttpRequest
|
||||
{
|
||||
|
||||
|
||||
public string[] AcceptTypes
|
||||
{
|
||||
get { return _acceptTypes; }
|
||||
}
|
||||
private string[] _acceptTypes;
|
||||
|
||||
|
||||
public Encoding ContentEncoding
|
||||
{
|
||||
get { return _contentEncoding; }
|
||||
}
|
||||
private Encoding _contentEncoding;
|
||||
|
||||
|
||||
public long ContentLength
|
||||
{
|
||||
get { return _contentLength64; }
|
||||
}
|
||||
private long _contentLength64;
|
||||
|
||||
|
||||
public long ContentLength64
|
||||
{
|
||||
get { return ContentLength; }
|
||||
}
|
||||
|
||||
|
||||
public string ContentType
|
||||
{
|
||||
get { return _contentType; }
|
||||
}
|
||||
private string _contentType;
|
||||
|
||||
|
||||
// public CookieCollection Cookies
|
||||
// {
|
||||
// get { return _cookies; }
|
||||
@@ -92,63 +85,54 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
private string _httpMethod;
|
||||
|
||||
|
||||
public Stream InputStream
|
||||
{
|
||||
get { return _inputStream; }
|
||||
}
|
||||
private Stream _inputStream;
|
||||
|
||||
|
||||
// public bool IsSecureConnection
|
||||
// {
|
||||
// get { return _isSecureConnection; }
|
||||
// }
|
||||
// private bool _isSecureConnection;
|
||||
|
||||
|
||||
// public bool IsAuthenticated
|
||||
// {
|
||||
// get { return _isAuthenticated; }
|
||||
// }
|
||||
// private bool _isAuthenticated;
|
||||
|
||||
|
||||
public bool HasEntityBody
|
||||
{
|
||||
get { return _hasbody; }
|
||||
}
|
||||
private bool _hasbody;
|
||||
|
||||
|
||||
public bool KeepAlive
|
||||
{
|
||||
get { return _keepAlive; }
|
||||
}
|
||||
private bool _keepAlive;
|
||||
|
||||
|
||||
public string RawUrl
|
||||
{
|
||||
get { return _rawUrl; }
|
||||
}
|
||||
private string _rawUrl;
|
||||
|
||||
|
||||
public Uri Url
|
||||
{
|
||||
get { return _url; }
|
||||
}
|
||||
private Uri _url;
|
||||
|
||||
|
||||
public string UserAgent
|
||||
{
|
||||
get { return _userAgent; }
|
||||
}
|
||||
private string _userAgent;
|
||||
|
||||
|
||||
public NameValueCollection QueryString
|
||||
{
|
||||
get { return _queryString; }
|
||||
@@ -161,28 +145,24 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
private Hashtable _query;
|
||||
|
||||
|
||||
public IPEndPoint RemoteIPEndPoint
|
||||
{
|
||||
get { return _ipEndPoint; }
|
||||
}
|
||||
private IPEndPoint _ipEndPoint;
|
||||
|
||||
|
||||
internal HttpRequest HttpRequest
|
||||
{
|
||||
get { return _request; }
|
||||
}
|
||||
private HttpRequest _request;
|
||||
|
||||
|
||||
internal HttpClientContext HttpClientContext
|
||||
{
|
||||
get { return _context; }
|
||||
}
|
||||
private HttpClientContext _context;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Internal whiteboard for handlers to store temporary stuff
|
||||
/// into.
|
||||
@@ -193,12 +173,10 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
private Dictionary<string, object> _whiteboard = new Dictionary<string, object>();
|
||||
|
||||
|
||||
public OSHttpRequest()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public OSHttpRequest(HttpListenerRequest req)
|
||||
{
|
||||
_acceptTypes = req.AcceptTypes;
|
||||
|
||||
Reference in New Issue
Block a user