From d7ec68669151b75cba1a5a213c653b4d365cf962 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Thu, 29 May 2008 15:46:54 +0000 Subject: this is a snapshot of the OSHttpServer work-in-progress. it's an initial skeleton, far from complete, just want to check in early and often. --- OpenSim/Framework/Servers/OSHttpRequest.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'OpenSim/Framework/Servers/OSHttpRequest.cs') diff --git a/OpenSim/Framework/Servers/OSHttpRequest.cs b/OpenSim/Framework/Servers/OSHttpRequest.cs index a290e0e..dac2347 100644 --- a/OpenSim/Framework/Servers/OSHttpRequest.cs +++ b/OpenSim/Framework/Servers/OSHttpRequest.cs @@ -44,7 +44,9 @@ namespace OpenSim.Framework.Servers private string _httpMethod; private Stream _inputStream; private bool _isSecureConnection; + private bool _isAuthenticated; private bool _keepAlive; + private bool _hasbody; private string _rawUrl; private Uri _url; private NameValueCollection _queryString; @@ -95,6 +97,16 @@ namespace OpenSim.Framework.Servers get { return _isSecureConnection; } } + public bool IsAuthenticated + { + get { return _isAuthenticated; } + } + + public bool HasEntityBody + { + get { return _hasbody; } + } + public bool KeepAlive { get { return _keepAlive; } @@ -133,8 +145,10 @@ namespace OpenSim.Framework.Servers _cookies = req.Cookies; _headers = req.Headers; _httpMethod = req.HttpMethod; + _hasbody = req.HasEntityBody; _inputStream = req.InputStream; _isSecureConnection = req.IsSecureConnection; + _isAuthenticated = req.IsAuthenticated; _keepAlive = req.KeepAlive; _rawUrl = req.RawUrl; _url = req.Url; -- cgit v1.1