aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpRequest.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-30 16:56:33 +0000
committerTeravus Ovares2008-09-30 16:56:33 +0000
commit79b2e5ac71794dd4e55228e0ac146b527fb71ddf (patch)
treec84ebcaccff670125becc16c0da17d943bfdcecb /OpenSim/Framework/Servers/OSHttpRequest.cs
parentmore concierge stuff (diff)
downloadopensim-SC_OLD-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.zip
opensim-SC_OLD-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.tar.gz
opensim-SC_OLD-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.tar.bz2
opensim-SC_OLD-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.tar.xz
* Replacing Net.HttpListener with HttpServer.
* This is a HUGE update.. and should be considered fraut with peril. * SSL Mode isn't available *yet* but I'll work on that next. * DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon. * This could break the Build! This could break your Grid!
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpRequest.cs')
-rw-r--r--OpenSim/Framework/Servers/OSHttpRequest.cs68
1 files changed, 34 insertions, 34 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpRequest.cs b/OpenSim/Framework/Servers/OSHttpRequest.cs
index 9c1053c..28f4337 100644
--- a/OpenSim/Framework/Servers/OSHttpRequest.cs
+++ b/OpenSim/Framework/Servers/OSHttpRequest.cs
@@ -199,40 +199,40 @@ namespace OpenSim.Framework.Servers
199 // _isAuthenticated = req.IsAuthenticated; 199 // _isAuthenticated = req.IsAuthenticated;
200 } 200 }
201 201
202 // public OSHttpRequest(HttpClientContext context, HttpRequest req) 202 public OSHttpRequest(HttpServer.IHttpClientContext context, HttpServer.IHttpRequest req)
203 // { 203 {
204 // _context = context; 204 //_context = context;
205 // _request = req; 205 HttpServer.IHttpRequest _request = req;
206 206
207 // _acceptTypes = req.AcceptTypes; 207 _acceptTypes = req.AcceptTypes;
208 // if (null != req.Headers["content-encoding"]) 208 if (null != req.Headers["content-encoding"])
209 // _contentEncoding = Encoding.GetEncoding(_request.Headers["content-encoding"]); 209 _contentEncoding = Encoding.GetEncoding(_request.Headers["content-encoding"]);
210 // _contentLength64 = req.ContentLength; 210 _contentLength64 = req.ContentLength;
211 // if (null != req.Headers["content-type"]) 211 if (null != req.Headers["content-type"])
212 // _contentType = _request.Headers["content-type"]; 212 _contentType = _request.Headers["content-type"];
213 // _headers = req.Headers; 213 _headers = req.Headers;
214 // _httpMethod = req.Method; 214 _httpMethod = req.Method;
215 // _hasbody = req.ContentLength != 0; 215 _hasbody = req.ContentLength != 0;
216 // _inputStream = req.Body; 216 _inputStream = req.Body;
217 // _keepAlive = ConnectionType.KeepAlive == req.Connection; 217 _keepAlive = ConnectionType.KeepAlive == req.Connection;
218 // _rawUrl = req.Uri.AbsolutePath; 218 _rawUrl = req.Uri.AbsolutePath;
219 // _url = req.Uri; 219 _url = req.Uri;
220 // if (null != req.Headers["user-agent"]) 220 if (null != req.Headers["user-agent"])
221 // _userAgent = req.Headers["user-agent"]; 221 _userAgent = req.Headers["user-agent"];
222 // _queryString = new NameValueCollection(); 222 _queryString = new NameValueCollection();
223 // _query = new Hashtable(); 223 _query = new Hashtable();
224 // foreach (KeyValuePair<string, HttpInputItem> q in req.QueryString) 224 foreach (KeyValuePair<string, HttpInputItem> q in req.QueryString)
225 // { 225 {
226 // _queryString.Add(q.Key, q.Value.Value); 226 _queryString.Add(q.Key, q.Value.Value);
227 // _query[q.Key] = q.Value.Value; 227 _query[q.Key] = q.Value.Value;
228 // } 228 }
229 // // TODO: requires change to HttpServer.HttpRequest 229 // TODO: requires change to HttpServer.HttpRequest
230 // _ipEndPoint = null; 230 _ipEndPoint = null;
231 231
232 // // _cookies = req.Cookies; 232 // _cookies = req.Cookies;
233 // // _isSecureConnection = req.IsSecureConnection; 233 // _isSecureConnection = req.IsSecureConnection;
234 // // _isAuthenticated = req.IsAuthenticated; 234 // _isAuthenticated = req.IsAuthenticated;
235 // } 235 }
236 236
237 public override string ToString() 237 public override string ToString()
238 { 238 {