[Mono-bugs] [Bug 43781][Wis] New - Calling WebResponse with AllowAutoRedirect = true it still gives a redirect error

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 27 May 2003 21:58:26 -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 julie@magenet.com.

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

--- shadow/43781	Tue May 27 21:58:26 2003
+++ shadow/43781.tmp.26493	Tue May 27 21:58:26 2003
@@ -0,0 +1,50 @@
+Bug#: 43781
+Product: Mono/Runtime
+Version: unspecified
+OS: Mandrake 9.1
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: julie@MageNet.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Calling WebResponse with AllowAutoRedirect = true it still gives a redirect error
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+Calling WebResponse with AllowAutoRedirect = true still causes a 302 
+Redirect exception.
+
+Steps to reproduce the problem:
+
+Actual Results:
+using System;
+using System.Net;
+
+namespace RedirectTest {
+	public class Test {
+		static void Main (string[] args) {
+			HttpWebRequest request = (HttpWebRequest) 
+HttpWebRequest.Create("http://www.google.com/search?q=test&btnI=I%27m%
+20feeling%20lucky");
+			request.AllowAutoRedirect = true;
+			WebResponse response = request.GetResponse();
+		}
+	}
+}
+
+
+Expected Results:
+It should just run, but you get an Exception on the 302 redirect.
+
+How often does this happen? 
+Every time
+
+Additional Information: