diff options
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpRequest.cs')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpRequest.cs | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpRequest.cs b/OpenSim/Framework/Servers/OSHttpRequest.cs index c47fe10..4c7d7ce 100644 --- a/OpenSim/Framework/Servers/OSHttpRequest.cs +++ b/OpenSim/Framework/Servers/OSHttpRequest.cs | |||
@@ -42,9 +42,8 @@ namespace OpenSim.Framework.Servers | |||
42 | { | 42 | { |
43 | private static readonly ILog _log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 43 | private static readonly ILog _log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
44 | 44 | ||
45 | protected HttpServer.IHttpRequest _request = null; | 45 | protected IHttpRequest _request = null; |
46 | protected HttpServer.IHttpClientContext _context = null; | 46 | protected IHttpClientContext _context = null; |
47 | |||
48 | 47 | ||
49 | public string[] AcceptTypes | 48 | public string[] AcceptTypes |
50 | { | 49 | { |
@@ -137,8 +136,15 @@ namespace OpenSim.Framework.Servers | |||
137 | } | 136 | } |
138 | private string _userAgent; | 137 | private string _userAgent; |
139 | 138 | ||
139 | internal IHttpRequest IHttpRequest | ||
140 | { | ||
141 | get { return _request; } | ||
142 | } | ||
140 | 143 | ||
141 | 144 | internal IHttpClientContext IHttpClientContext | |
145 | { | ||
146 | get { return _context; } | ||
147 | } | ||
142 | 148 | ||
143 | /// <summary> | 149 | /// <summary> |
144 | /// Internal whiteboard for handlers to store temporary stuff | 150 | /// Internal whiteboard for handlers to store temporary stuff |
@@ -151,11 +157,9 @@ namespace OpenSim.Framework.Servers | |||
151 | private Dictionary<string, object> _whiteboard = new Dictionary<string, object>(); | 157 | private Dictionary<string, object> _whiteboard = new Dictionary<string, object>(); |
152 | 158 | ||
153 | 159 | ||
154 | public OSHttpRequest() | 160 | public OSHttpRequest() {} |
155 | { | ||
156 | } | ||
157 | 161 | ||
158 | public OSHttpRequest(HttpServer.IHttpClientContext context, HttpServer.IHttpRequest req) | 162 | public OSHttpRequest(IHttpClientContext context, IHttpRequest req) |
159 | { | 163 | { |
160 | _request = req; | 164 | _request = req; |
161 | _context = context; | 165 | _context = context; |