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:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-11-22 02:21:16 +0300
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-11-22 02:21:16 +0300
commit7e26594b5acf982ca712d81018e01192f3698934 (patch)
tree1f7174d411c0baf1b25afdba59dbd5cb9fd25159
parent9352ce2a9c313058369e0fe1c1770989eec55bf5 (diff)
2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>mono-1.2.1
* HttpWebRequest.cs: add 2 more methods that are not supposed to have a body. Fixes bug #80001. svn path=/branches/mono-1-2-1/mcs/; revision=68301
-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"));
}
}