aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpRequest.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-25 13:10:12 +0000
committerDr Scofield2008-06-25 13:10:12 +0000
commitdaca971bf6de2020be00c6f0641494bd481bd091 (patch)
tree463c4f1f00907c6d83217b99397a0e1db763bb69 /OpenSim/Framework/Servers/OSHttpRequest.cs
parenttaking another look at mantis #1502: adding necessary locks, checking for emp... (diff)
downloadopensim-SC-daca971bf6de2020be00c6f0641494bd481bd091.zip
opensim-SC-daca971bf6de2020be00c6f0641494bd481bd091.tar.gz
opensim-SC-daca971bf6de2020be00c6f0641494bd481bd091.tar.bz2
opensim-SC-daca971bf6de2020be00c6f0641494bd481bd091.tar.xz
further work on the HttpServer stuff. not functional yet. just sharing
what crimes i'm committing.
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}