The big difference to note here is that nightly builds are not from the 2.0 code base. The nightly builds are post 2.0 pre-alpha code. This code is being taken from CVS head. The cross host redirect issue has not been and will not be resolved in 2.0. It has however been fixed in post 2.0.
Mike
On Feb 17, 2004, at 4:19 PM, Adrian Sutton wrote:
HttpClient 2.0 doesn't support redirects which change the domain. The site
has changed between last fall and now. Take a look at
http://jakarta.apache.org/commons/httpclient/redirect.html (Cross Site
Redirects) for details on how to handle this. You may also want to try the
latest nightly build for HttpClient where this problem is fixed.
Regards,
Adrian Sutton.
-----Original Message----- From: Joe Ryburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 February 2004 5:02 AM To: [EMAIL PROTECTED] Subject: HttpClient - Still having redirect issues...
I'm trying to get a program to work that DID work last fall with a nightly build. It logged in to my Yahoo account, where it was redirected. I handled the redirect as instructed in the documentation, and am getting ...
Status code = 302 Redirect target: http://login.yahoo.com/config/verify?.done=http%3a//my.yahoo.com Feb 17, 2004 12:45:15 PM org.apache.commons.httpclient.HttpMethodBase checkValid Redirect WARNING: Error getting URI host org.apache.commons.httpclient.HttpException: Redirect from host login.yahoo.com to my.yahoo.com is not supported
Can anyone provide me with information. I can provide the simple source code if you wish.
Joe Ryburn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
