[Mono-bugs] [Bug 61580][Wis] New - HttpWebRequest.AllowAutoRedirect not working for POST method

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Jul 2004 20:30:24 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguelanxo@telefonica.net.

http://bugzilla.ximian.com/show_bug.cgi?id=61580

--- shadow/61580	2004-07-14 20:30:24.000000000 -0400
+++ shadow/61580.tmp.18722	2004-07-14 20:30:24.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 61580
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguelanxo@telefonica.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HttpWebRequest.AllowAutoRedirect not working for POST method
+
+Description of Problem:
+
+HttpWebRequest myRequest = new HttpRequest...
+
+Setting "myRequest.AllowAutoRedirect = true" doesn't cause the redirection
+to take place automatically, when using POST method. 
+
+
+Steps to reproduce the problem:
+
+1. Init a POST HttpWebRequest request to a URL that gets redirected via
+HTTP protocol (for example, with HTTP codes 302 Found or 302 Redirect).
+
+2. Wait for response.
+
+Actual Results: We were not redirected automatically
+
+Expected Results: to be redirected automatically, even when this case is
+not clear (seems that the redirection should take place using GET instead
+of POST)
+
+How often does this happen? allways
+
+
+Additional Information:
+
+tested with http:// and https:// uris (now that https:// works).