Use the logging features to see exactly what was sent back (and make sure you're cookies are in compatibility mode). You can find more info on logging at http://jakarta.apache.org/commons/httpclient/logging.html

Cookies are generally Oleg's realm but I'd pretty much guarantee he'll need a wire trace log to track down the problem. :)

Regards,

Adrian Sutton.

On Wednesday, May 28, 2003, at 03:44 PM, Sunil Kumar K wrote:

Thanks Oleg,

I tried that, now I'm getting this error..

"WARNING: Invalid cookie header: "DOMS=; PATH=". Missing value for path
attribute"

What should I do...??

regards
sunil

----- Original Message -----
From: "Kalnichevski, Oleg" <[EMAIL PROTECTED]>
To: "Commons HttpClient Project" <[EMAIL PROTECTED]>;
"Sunil Kumar Kolar" <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 8:52 PM
Subject: RE: Redirect Issue



Sunil,


At the moment HttpClient does not support automatic POST redirects. All you have
to do it is to manually issue GET request to the location specified in the
redirect response. Have a look at the following resource for more details


http://jakarta.apache.org/commons/httpclient/redirects.html

Oleg

-----Original Message-----
From: Sunil Kumar K [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 16:17
To: Commons HttpClient Project
Subject: Redirect Issue


Guys,


Please help me out!.

I'm trying to use HttpClient to send HTTP POST Messages..
I'm getting this error...
Does it mean that I cannot send message to URL which does not support
redirecting..
or I've to set redirect to true... somewhere
------------------------------------------------------------
May 27, 2003 7:40:04 PM org.apache.commons.httpclient.HttpMethodBase
processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
*** Response ***
Status Line: HTTP/1.0 302 Found
*** Response Body ***
------------------------------------------------------------

cheers!
Sunil
--------------------------------------------
"Assumption is the mother of all screw-ups"
--------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to