RE: redirect issue with httpclient

2004-05-13 Thread Kalnichevski, Oleg
Himanshu, HttpClient 2.0, unfortunately, cannot automatically handle cross-host redirects. But this limitation is not difficult to work around. See the document below http://jakarta.apache.org/commons/httpclient/redirects.html HttpClient 3.0 will address this limitation Oleg -Original Mes

Re: Redirect Issue

2003-05-28 Thread Sunil Kumar K
ay, May 28, 2003 3:07 PM Subject: Re: Redirect Issue | Sunil Kumar K wrote: | > Should I | > need to get the response back and display it OR sending POST message | > is enough and browser will get new page from site B. | | Sunil, | | The user's browser only gets what you write to t

Re: Redirect Issue

2003-05-28 Thread Ortwin Glück
Sunil Kumar K wrote: > Should I need to get the response back and display it OR sending POST message is enough and browser will get new page from site B. Sunil, The user's browser only gets what you write to the ServletOutputStream of your servlet. This is not an issue with HttpClient. Please ref

Re: Redirect Issue

2003-05-28 Thread Sunil Kumar K
ssage - From: "Kalnichevski, Oleg" <[EMAIL PROTECTED]> To: "Commons HttpClient Project" <[EMAIL PROTECTED]>; "Sunil Kumar Kolar" <[EMAIL PROTECTED]> Sent: Wednesday, May 28, 2003 12:52 PM Subject: RE: Redirect Issue Sunil, 'Set-Cookie: D

Re: Redirect Issue

2003-05-28 Thread Sunil Kumar K
ar Kolar" <[EMAIL PROTECTED]> Sent: Wednesday, May 28, 2003 12:52 PM Subject: RE: Redirect Issue Sunil, 'Set-Cookie: DOMS=; PATH=' cookie is rejected as it violates the RFC2109 specification. Here's what you should do to work the problem around: 1) Upgrade to the

RE: Redirect Issue

2003-05-28 Thread Kalnichevski, Oleg
Sunil, 'Set-Cookie: DOMS=; PATH=' cookie is rejected as it violates the RFC2109 specification. Here's what you should do to work the problem around: 1) Upgrade to the latest nightly build (commons-httpclient-20030527.tar.gz) http://cvs.apache.org/builds/jakarta-commons/nightly/commons-httpclien

Re: Redirect Issue

2003-05-27 Thread Adrian Sutton
Hi again Sunil, I'm doing too many things at once here so I could be wrong, but would http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20240 be the same problem you're having? If so, you should be able to upgrade to the latest nightly build and the problem would be fixed. I can't be sure if th

Re: Redirect Issue

2003-05-27 Thread Ortwin Glück
Sunil, a wirelog would be a lot more interesting. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Redirect Issue

2003-05-27 Thread Sunil Kumar K
HttpMethod - -enter HttpMethodBase.readResponseBody(HttpState, HttpConnection) 2003/05/28 11:46:34:059 EDT [TRACE] HttpConnection - -enter HttpConnection.getResponseInputStream() 2003/05/28 11:46:34:059 EDT [TRACE] HttpMethod - -enter HttpMethodBase.canResponseHaveBody(int) 2003/05/28 11:46:34:059 EDT

Re: Redirect Issue

2003-05-27 Thread Sunil Kumar K
Thanks Adrian... Will do that... - Original Message - From: "Adrian Sutton" <[EMAIL PROTECTED]> To: "Commons HttpClient Project" <[EMAIL PROTECTED]> Sent: Wednesday, May 28, 2003 11:33 AM Subject: Re: Redirect Issue | Use the logging features to see exac

Re: Redirect Issue

2003-05-27 Thread Adrian Sutton
lue 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

Re: Redirect Issue

2003-05-27 Thread Sunil Kumar K
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 manu