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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2014-01-10 15:42:25 +0400
committerAtsushi Eno <atsushieno@gmail.com>2014-01-10 15:42:25 +0400
commitc67aed9a47333b80732cf74c8cb28f247d9edec9 (patch)
tree118f53639fe6ade65084b8e6631267b28b03eca1 /mcs
parentc4222e06ffa0dd148a8eec99cd409609990636dd (diff)
fix build.
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs
index fe334a40d6d..6ebafbd99da 100644
--- a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs
+++ b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs
@@ -167,9 +167,11 @@ namespace System.ServiceModel.Channels
case "Expect":
web_request.Expect = hp.Headers [key];
break;
+#if NET_4_0
case "Host":
web_request.Host = hp.Headers [key];
break;
+#endif
//case "If-Modified-Since":
// web_request.IfModifiedSince = hp.Headers [key];
// break;