diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2014-01-10 15:42:25 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2014-01-10 15:42:25 +0400 |
commit | c67aed9a47333b80732cf74c8cb28f247d9edec9 (patch) | |
tree | 118f53639fe6ade65084b8e6631267b28b03eca1 /mcs | |
parent | c4222e06ffa0dd148a8eec99cd409609990636dd (diff) |
fix build.
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs | 2 |
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; |