projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf3c64
)
WebResponse.cs: Implement SupportsHeaders property
author
Miguel de Icaza
<miguel@gnome.org>
Fri, 14 Mar 2014 02:36:46 +0000
(22:36 -0400)
committer
Miguel de Icaza
<miguel@gnome.org>
Fri, 14 Mar 2014 02:36:53 +0000
(22:36 -0400)
mcs/class/System/System.Net/WebResponse.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System/System.Net/WebResponse.cs
b/mcs/class/System/System.Net/WebResponse.cs
index f2c748f560f1c2e28ce415e775be592a23f35df9..9b9fab50815ec1fca4d8e030e70fbb34321d6887 100644
(file)
--- 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 (); }
\r
}
\r
#if NET_4_0
\r
- [MonoTODO ("for portable library support")]
\r
+
\r
public virtual bool SupportsHeaders {
\r
- get { throw new NotImplementedException (); }
\r
+ get {
\r
+ // The managed stack always returns this as true, it is only
\r
+ // the Silverlight stack that does not support this.
\r
+ return true;
\r
+ }
\r
}
\r
#endif
\r
// Methods
\r