* HttpWebRequest.cs: when folding a request into a GET one, set content length to 0 and kill the buffers. Fixes bug #327314. Patch from Geoff Norton <[email protected]>, thanks! svn path=/trunk/mcs/; revision=89790
@@ -1,3 +1,9 @@
+2007-11-16 Marek Habersack <[email protected]>
+
+ * HttpWebRequest.cs: when folding a request into a GET one, set
+ content length to 0 and kill the buffers. Fixes bug #327314. Patch
+ from Geoff Norton <[email protected]>, thanks!
2007-11-13 Atsushi Enomoto <[email protected]>
* WebRequest.cs : added missing ImpersonationLevel (NIE).
@@ -912,6 +912,9 @@ namespace System.Net
return false;
*/
+ contentLength = 0;
+ bodyBufferLength = 0;
+ bodyBuffer = null;
method = "GET";
uriString = webResponse.Headers ["Location"];
break;