diff options
Diffstat (limited to 'mcs/class/System/System.Net')
-rw-r--r-- | mcs/class/System/System.Net/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System/System.Net/HttpWebRequest.cs | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mcs/class/System/System.Net/ChangeLog b/mcs/class/System/System.Net/ChangeLog index 7e609f5e528..579e2ff442f 100644 --- a/mcs/class/System/System.Net/ChangeLog +++ b/mcs/class/System/System.Net/ChangeLog @@ -1,3 +1,8 @@ +2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * HttpWebRequest.cs: add 2 more methods that are not supposed to have + a body. Fixes bug #80001. + 2006-11-15 Andrew Skiba <andrews@mainsoft.com> * WebHeaderCollection.cs: add stubs for new 2.0 properties. diff --git a/mcs/class/System/System.Net/HttpWebRequest.cs b/mcs/class/System/System.Net/HttpWebRequest.cs index 1bfce20e76d..141802b0b98 100644 --- a/mcs/class/System/System.Net/HttpWebRequest.cs +++ b/mcs/class/System/System.Net/HttpWebRequest.cs @@ -170,7 +170,8 @@ namespace System.Net internal bool InternalAllowBuffering { get { - return (allowBuffering && (method != "HEAD" && method != "GET")); + return (allowBuffering && (method != "HEAD" && method != "GET" && + method != "MKCOL" && method != "CONNECT")); } } |