aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiHttpTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiHttpTests.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiHttpTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiHttpTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiHttpTests.cs
index 241a24d..8e6addd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiHttpTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiHttpTests.cs
@@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
95 config.Configs["Network"].Set("ExternalHostNameForLSL", "127.0.0.1"); 95 config.Configs["Network"].Set("ExternalHostNameForLSL", "127.0.0.1");
96 m_scene = new SceneHelpers().SetupScene(); 96 m_scene = new SceneHelpers().SetupScene();
97 97
98 BaseHttpServer server = new BaseHttpServer(port, false, 0, ""); 98 BaseHttpServer server = new BaseHttpServer(port);
99 MainServer.AddHttpServer(server); 99 MainServer.AddHttpServer(server);
100 MainServer.Instance = server; 100 MainServer.Instance = server;
101 101
@@ -157,7 +157,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
157 using (HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse()) 157 using (HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse())
158 {} 158 {}
159 } 159 }
160 catch (WebException e) 160 catch (WebException)
161 { 161 {
162// using (HttpWebResponse response = (HttpWebResponse)e.Response) 162// using (HttpWebResponse response = (HttpWebResponse)e.Response)
163// gotExpectedException = response.StatusCode == HttpStatusCode.NotFound; 163// gotExpectedException = response.StatusCode == HttpStatusCode.NotFound;