aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDr Scofield2008-05-22 12:59:42 +0000
committerDr Scofield2008-05-22 12:59:42 +0000
commita97fa3f43e313848ba6b4cd65840ba8c60ac485f (patch)
treec0caaaa7fb3532727f24e5b722c639a5c191512f /OpenSim/Region
parentFix for Mantis 1340. Thanks Melanie! (diff)
downloadopensim-SC_OLD-a97fa3f43e313848ba6b4cd65840ba8c60ac485f.zip
opensim-SC_OLD-a97fa3f43e313848ba6b4cd65840ba8c60ac485f.tar.gz
opensim-SC_OLD-a97fa3f43e313848ba6b4cd65840ba8c60ac485f.tar.bz2
opensim-SC_OLD-a97fa3f43e313848ba6b4cd65840ba8c60ac485f.tar.xz
changing more 'raw' HTTP status codes to OSHttpStatusCodes.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
index 87ecfee..e0d5972 100644
--- a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
+++ b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
@@ -34,6 +34,7 @@ using System.Threading;
34using libsecondlife; 34using libsecondlife;
35using Nini.Config; 35using Nini.Config;
36using OpenSim.Framework; 36using OpenSim.Framework;
37using OpenSim.Framework.Servers;
37using OpenSim.Region.Environment.Interfaces; 38using OpenSim.Region.Environment.Interfaces;
38using OpenSim.Region.Environment.Scenes; 39using OpenSim.Region.Environment.Scenes;
39 40
@@ -340,13 +341,13 @@ namespace OpenSim.Region.Environment.Modules.Scripting.HttpRequest
340 } 341 }
341 catch (Exception e) 342 catch (Exception e)
342 { 343 {
343 status = 499; 344 status = (int)OSHttpStatusCode.ClientErrorJoker;
344 response_body = e.Message; 345 response_body = e.Message;
345 finished = true; 346 finished = true;
346 return; 347 return;
347 } 348 }
348 349
349 status = 200; 350 status = (int)OSHttpStatusCode.SuccessOk;
350 finished = true; 351 finished = true;
351 } 352 }
352 353