302 is a redirect. HTTP/1.1 302 Moved Temporarily Location: /new/location
You need to read the "Location" header included in the reply and initiate a GET request to that URL. Assuming all your session cookies are included in your 2nd request (httpclient usually does that automatically), everything should work. HttpClient doesn't support "Post" redirects, especially not with the 2nd request being a "Get" the way most browsers implement it. yours, Julius On Thu, 2005-01-20 at 09:15 +0800, Eric Chow wrote: > Any idea on the following form, it just return the status code 302 !!! > The following is the HTML form and my code: > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
