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
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
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
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
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
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
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
Sunil,
a wirelog would be a lot more interesting.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
12 matches
Mail list logo