* HttpWebRequest.cs: internally allow buffer if it's not a known GET-only method instead of enabling that only for POST/PUT. Fixes bug #79595. svn path=/trunk/mcs/; revision=66272
@@ -1,3 +1,9 @@
+2006-10-04 Gonzalo Paniagua Javier <[email protected]>
+
+ * HttpWebRequest.cs: internally allow buffer if it's not a known
+ GET-only method instead of enabling that only for POST/PUT. Fixes bug
+ #79595.
2006-09-28 Andrew Skiba <[email protected]>
* WebConnection.cs: TARGET_JVM
@@ -170,7 +170,7 @@ namespace System.Net
internal bool InternalAllowBuffering {
get {
- return (allowBuffering && (method == "PUT" || method == "POST"));
+ return (allowBuffering && (method != "HEAD" && method != "GET"));
}