diff options
author | Dr Scofield | 2008-06-25 13:10:12 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-25 13:10:12 +0000 |
commit | daca971bf6de2020be00c6f0641494bd481bd091 (patch) | |
tree | 463c4f1f00907c6d83217b99397a0e1db763bb69 /OpenSim/Framework/Servers/OSHttpRequest.cs | |
parent | taking another look at mantis #1502: adding necessary locks, checking for emp... (diff) | |
download | opensim-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.cs | 13 |
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; | |||
30 | using System.Net; | 30 | using System.Net; |
31 | using System.IO; | 31 | using System.IO; |
32 | using System.Text; | 32 | using System.Text; |
33 | using HttpServer; | ||
33 | 34 | ||
34 | namespace OpenSim.Framework.Servers | 35 | namespace 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 | } |