Author: mhabersack
Date: 2007-05-15 02:48:11 -0400 (Tue, 15 May 2007)
New Revision: 77392

Modified:
   trunk/mcs/class/System/System.Net/ChangeLog
   trunk/mcs/class/System/System.Net/HttpWebRequest.cs
Log:
2007-05-15  Marek Habersack  <[EMAIL PROTECTED]>

        * HttpWebRequest.cs: fold all methods into GET for
        redirect/moves. Fixes bug #81624



Modified: trunk/mcs/class/System/System.Net/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Net/ChangeLog 2007-05-15 06:39:32 UTC (rev 
77391)
+++ trunk/mcs/class/System/System.Net/ChangeLog 2007-05-15 06:48:11 UTC (rev 
77392)
@@ -1,3 +1,8 @@
+2007-05-15  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * HttpWebRequest.cs: fold all methods into GET for
+       redirect/moves. Fixes bug #81624
+
 2007-05-07  Miguel de Icaza  <[EMAIL PROTECTED]>
 
        Missing second part of the patch.

Modified: trunk/mcs/class/System/System.Net/HttpWebRequest.cs
===================================================================
--- trunk/mcs/class/System/System.Net/HttpWebRequest.cs 2007-05-15 06:39:32 UTC 
(rev 77391)
+++ trunk/mcs/class/System/System.Net/HttpWebRequest.cs 2007-05-15 06:48:11 UTC 
(rev 77392)
@@ -830,6 +830,7 @@
                                        return false;
                                */
 
+                               method = "GET";
                                uriString = webResponse.Headers ["Location"];
                                break;
                        case HttpStatusCode.SeeOther: //303

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to