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
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2014-03-14 06:36:46 +0400
committerDuncan Mak <duncan.mak@xamarin.com>2014-03-15 00:12:35 +0400
commitdabec7a98f6822621b0dfbfdba040066dc07f935 (patch)
treefb376a84f8bbb52c4349624168f88f369709bf4f
parent81aec6a7838c97045d95ab6640159fa0a7570491 (diff)
WebResponse.cs: Implement SupportsHeaders propertymonodroid-4.12-series-branch
-rw-r--r--mcs/class/System/System.Net/WebResponse.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/System/System.Net/WebResponse.cs b/mcs/class/System/System.Net/WebResponse.cs
index f2c748f560f..9b9fab50815 100644
--- a/mcs/class/System/System.Net/WebResponse.cs
+++ b/mcs/class/System/System.Net/WebResponse.cs
@@ -86,9 +86,13 @@ namespace System.Net
get { throw new NotSupportedException (); }
}
#if NET_4_0
- [MonoTODO ("for portable library support")]
+
public virtual bool SupportsHeaders {
- get { throw new NotImplementedException (); }
+ get {
+ // The managed stack always returns this as true, it is only
+ // the Silverlight stack that does not support this.
+ return true;
+ }
}
#endif
// Methods