Thank you.  It's kind of an http newbie question, but here it is.  I create
a PostMethod object, and use it to post data to a site's login page.  The
login page redirects to another page within the site.  When that redirect is
sent, I get the following message:

Jun 26, 2003 1:48:21 PM org.apache.commons.httpclient.HttpMethodBase
processRedirectResponse
INFO: Redirect requested but followRedirects is disabled

I have set allowRedirects to true within the PostMethod object.  However, I
noticed that PostMethod inherits from EntityEnclosingMethod, overriding
getAllowRedirects with a method that always returns false (per rfc2616).
This is obviously not a bug, but how would you recommend handling this
situation.  The data I am after is on the page that will be redirected to.
I can just create a GetMethod and give it the url that would be redirected
to, but how to get rid of that error message.  Any suggestions?

Thanks a bunch....
--Nathan McMinn

----- Original Message -----
From: "Kalnichevski, Oleg" <[EMAIL PROTECTED]>
To: "Commons HttpClient Project" <[EMAIL PROTECTED]>
Sent: Thursday, June 26, 2003 10:03 AM
Subject: RE: Where to post


Nathan,
Please go ahead and post your questions here, as there's no separate
HttpClient user
mailing list.

Oleg

-----Original Message-----
From: Nate [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 16:59
To: [EMAIL PROTECTED]
Subject: Where to post


Sorry if this is the wrong place to ask this question, but where is the
proper place to post user questions about HttpClient?  Couldn't find a user
mailing list.

--Nathan McMinn


---------------------------------------------------------------------
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]

Reply via email to