aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpRequest.cs')
-rw-r--r--OpenSim/Framework/Servers/OSHttpRequest.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpRequest.cs b/OpenSim/Framework/Servers/OSHttpRequest.cs
index d733f3d..530c91a 100644
--- a/OpenSim/Framework/Servers/OSHttpRequest.cs
+++ b/OpenSim/Framework/Servers/OSHttpRequest.cs
@@ -30,11 +30,15 @@ using System.Collections.Specialized;
30using System.Net; 30using System.Net;
31using System.IO; 31using System.IO;
32using System.Text; 32using System.Text;
33using HttpServer;
33 34
34namespace OpenSim.Framework.Servers 35namespace OpenSim.Framework.Servers
35{ 36{
36 public class OSHttpRequest 37 public class OSHttpRequest
37 { 38 {
39 /// <remarks>
40 /// soon to be deprecated
41 /// </remarks>
38 private string[] _acceptTypes; 42 private string[] _acceptTypes;
39 private Encoding _contentEncoding; 43 private Encoding _contentEncoding;
40 private long _contentLength64; 44 private long _contentLength64;
@@ -52,6 +56,9 @@ namespace OpenSim.Framework.Servers
52 private NameValueCollection _queryString; 56 private NameValueCollection _queryString;
53 private string _userAgent; 57 private string _userAgent;
54 58
59 private HttpRequest _request;
60 private HttpClientContext _context;
61
55 public string[] AcceptTypes 62 public string[] AcceptTypes
56 { 63 {
57 get { return _acceptTypes; } 64 get { return _acceptTypes; }
@@ -160,5 +167,11 @@ namespace OpenSim.Framework.Servers
160 _queryString = req.QueryString; 167 _queryString = req.QueryString;
161 _userAgent = req.UserAgent; 168 _userAgent = req.UserAgent;
162 } 169 }
170
171 public OSHttpRequest(HttpClientContext context, HttpRequest req)
172 {
173 _context = context;
174 _request = req;
175 }
163 } 176 }
164} 177}