diff options
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpRequest.cs')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpRequest.cs | 14 |
1 files changed, 14 insertions, 0 deletions
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 | |||
44 | private string _httpMethod; | 44 | private string _httpMethod; |
45 | private Stream _inputStream; | 45 | private Stream _inputStream; |
46 | private bool _isSecureConnection; | 46 | private bool _isSecureConnection; |
47 | private bool _isAuthenticated; | ||
47 | private bool _keepAlive; | 48 | private bool _keepAlive; |
49 | private bool _hasbody; | ||
48 | private string _rawUrl; | 50 | private string _rawUrl; |
49 | private Uri _url; | 51 | private Uri _url; |
50 | private NameValueCollection _queryString; | 52 | private NameValueCollection _queryString; |
@@ -95,6 +97,16 @@ namespace OpenSim.Framework.Servers | |||
95 | get { return _isSecureConnection; } | 97 | get { return _isSecureConnection; } |
96 | } | 98 | } |
97 | 99 | ||
100 | public bool IsAuthenticated | ||
101 | { | ||
102 | get { return _isAuthenticated; } | ||
103 | } | ||
104 | |||
105 | public bool HasEntityBody | ||
106 | { | ||
107 | get { return _hasbody; } | ||
108 | } | ||
109 | |||
98 | public bool KeepAlive | 110 | public bool KeepAlive |
99 | { | 111 | { |
100 | get { return _keepAlive; } | 112 | get { return _keepAlive; } |
@@ -133,8 +145,10 @@ namespace OpenSim.Framework.Servers | |||
133 | _cookies = req.Cookies; | 145 | _cookies = req.Cookies; |
134 | _headers = req.Headers; | 146 | _headers = req.Headers; |
135 | _httpMethod = req.HttpMethod; | 147 | _httpMethod = req.HttpMethod; |
148 | _hasbody = req.HasEntityBody; | ||
136 | _inputStream = req.InputStream; | 149 | _inputStream = req.InputStream; |
137 | _isSecureConnection = req.IsSecureConnection; | 150 | _isSecureConnection = req.IsSecureConnection; |
151 | _isAuthenticated = req.IsAuthenticated; | ||
138 | _keepAlive = req.KeepAlive; | 152 | _keepAlive = req.KeepAlive; |
139 | _rawUrl = req.RawUrl; | 153 | _rawUrl = req.RawUrl; |
140 | _url = req.Url; | 154 | _url = req.Url; |