Browse Source

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.


svn path=/trunk/mcs/; revision=68297
Gonzalo Paniagua Javier 19 years ago
parent
commit
e70af48a3c

+ 5 - 0
mcs/class/System/System.Net/ChangeLog

@@ -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.

+ 2 - 1
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"));
 			}
 		}