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:
-rw-r--r--mcs/class/System/System.Net/ChangeLog5
-rw-r--r--mcs/class/System/System.Net/HttpWebRequest.cs3
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"));
}
}