aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {