* HttpWebRequest.cs: add 2 more methods that are not supposed to have a body. Fixes bug #80001. svn path=/trunk/mcs/; revision=68297
@@ -1,3 +1,8 @@
+2006-11-21 Gonzalo Paniagua Javier <[email protected]>
+
+ * HttpWebRequest.cs: add 2 more methods that are not supposed to have
+ a body. Fixes bug #80001.
2006-11-15 Andrew Skiba <[email protected]>
* WebHeaderCollection.cs: add stubs for new 2.0 properties.
@@ -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"));
}