Author: gonzalo
Date: 2006-10-04 17:37:34 -0400 (Wed, 04 Oct 2006)
New Revision: 66272
Modified:
trunk/mcs/class/System/System.Net/ChangeLog
trunk/mcs/class/System/System.Net/HttpWebRequest.cs
Log:
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.
Modified: trunk/mcs/class/System/System.Net/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Net/ChangeLog 2006-10-04 20:56:29 UTC (rev
66271)
+++ trunk/mcs/class/System/System.Net/ChangeLog 2006-10-04 21:37:34 UTC (rev
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
Modified: trunk/mcs/class/System/System.Net/HttpWebRequest.cs
===================================================================
--- trunk/mcs/class/System/System.Net/HttpWebRequest.cs 2006-10-04 20:56:29 UTC
(rev 66271)
+++ trunk/mcs/class/System/System.Net/HttpWebRequest.cs 2006-10-04 21:37:34 UTC
(rev 66272)
@@ -170,7 +170,7 @@
internal bool InternalAllowBuffering {
get {
- return (allowBuffering && (method == "PUT" ||
method == "POST"));
+ return (allowBuffering && (method != "HEAD" &&
method != "GET"));
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches