diff options
Merge branch 'master' of /home/opensim/var/repo/opensim
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/RestPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs index ff1502a..eb16750 100644 --- a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs +++ b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | |||
@@ -328,7 +328,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
328 | /// </summary> | 328 | /// </summary> |
329 | /// <param name="request">HTTP request header</param> | 329 | /// <param name="request">HTTP request header</param> |
330 | /// <returns>true when the HTTP request came from god.</returns> | 330 | /// <returns>true when the HTTP request came from god.</returns> |
331 | protected bool IsGod(OSHttpRequest request) | 331 | protected bool IsGod(IOSHttpRequest request) |
332 | { | 332 | { |
333 | string[] keys = request.Headers.GetValues("X-OpenSim-Godkey"); | 333 | string[] keys = request.Headers.GetValues("X-OpenSim-Godkey"); |
334 | if (null == keys) return false; | 334 | if (null == keys) return false; |
@@ -342,7 +342,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
342 | /// HTTP header is indeed the password on file for the avatar | 342 | /// HTTP header is indeed the password on file for the avatar |
343 | /// specified by the UUID | 343 | /// specified by the UUID |
344 | /// </summary> | 344 | /// </summary> |
345 | protected bool IsVerifiedUser(OSHttpRequest request, UUID uuid) | 345 | protected bool IsVerifiedUser(IOSHttpRequest request, UUID uuid) |
346 | { | 346 | { |
347 | // XXX under construction | 347 | // XXX under construction |
348 | return false; | 348 | return false; |
@@ -377,7 +377,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
377 | /// <param name="message">failure message</param> | 377 | /// <param name="message">failure message</param> |
378 | /// <remarks>This should probably set a return code as | 378 | /// <remarks>This should probably set a return code as |
379 | /// well. (?)</remarks> | 379 | /// well. (?)</remarks> |
380 | protected string Failure(OSHttpResponse response, OSHttpStatusCode status, | 380 | protected string Failure(IOSHttpResponse response, OSHttpStatusCode status, |
381 | string method, string format, params string[] msg) | 381 | string method, string format, params string[] msg) |
382 | { | 382 | { |
383 | string m = String.Format(format, msg); | 383 | string m = String.Format(format, msg); |
@@ -396,7 +396,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
396 | /// <param name="e">exception causing the failure message</param> | 396 | /// <param name="e">exception causing the failure message</param> |
397 | /// <remarks>This should probably set a return code as | 397 | /// <remarks>This should probably set a return code as |
398 | /// well. (?)</remarks> | 398 | /// well. (?)</remarks> |
399 | public string Failure(OSHttpResponse response, OSHttpStatusCode status, | 399 | public string Failure(IOSHttpResponse response, OSHttpStatusCode status, |
400 | string method, Exception e) | 400 | string method, Exception e) |
401 | { | 401 | { |
402 | string m = String.Format("exception occurred: {0}", e.Message); | 402 | string m = String.Format("exception occurred: {0}", e.Message); |