Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/System.Web.Http.SelfHost.Test/DeeplyNestedTypeTests.cs')
-rw-r--r--test/System.Web.Http.SelfHost.Test/DeeplyNestedTypeTests.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/System.Web.Http.SelfHost.Test/DeeplyNestedTypeTests.cs b/test/System.Web.Http.SelfHost.Test/DeeplyNestedTypeTests.cs
index 62e2191c..a6ac02ab 100644
--- a/test/System.Web.Http.SelfHost.Test/DeeplyNestedTypeTests.cs
+++ b/test/System.Web.Http.SelfHost.Test/DeeplyNestedTypeTests.cs
@@ -4,6 +4,7 @@ using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
+using System.ServiceModel;
using System.Text;
using System.Xml.Linq;
using Microsoft.TestCommon;
@@ -27,6 +28,7 @@ namespace System.Web.Http.SelfHost
baseAddress = String.Format("http://localhost/");
HttpSelfHostConfiguration config = new HttpSelfHostConfiguration(baseAddress);
+ config.HostNameComparisonMode = HostNameComparisonMode.Exact;
config.Routes.MapHttpRoute("Default", "{controller}/{action}", new { controller = "DeepNestedType" });
server = new HttpSelfHostServer(config);