On Tue, Jul 04, 2006 at 07:35:56PM +0200, Oleg Kalnichevski wrote:
> On Tue, 2006-07-04 at 19:32 +0200, [EMAIL PROTECTED] wrote:
> > On Tue, Jul 04, 2006 at 06:49:28PM +0200, Oleg Kalnichevski wrote:
> > > On Tue, 2006-07-04 at 18:46 +0300, Eugene Dzhurinsky wrote:
> > > > Hello, I facing strange issue with HttpClient
> > > > 
> > > > For this URL: 
> > > > http://www.emigrant.ie/cgi-bin/ads.pl?member=atwork_side3;page=781;setdest=atwork_side3
> > > > 
> > > > it reports 302 instead of 200, and
> > > > 
> > > > WARNING: Redirected location
> > > > 'http://www.arguscarhire.com/Newimages/BANNERS/argus_car_hire_130x60_from?9.99.gif'
> > > > is malformed
> > > > 
> > > 
> > > What is so strange about it? The second redirect location contains
> > > garbage.
> > But browsers like Firefox doesn't face such problems.
> HttpClient is not a browser

But as I can see in
http://wiki.apache.org/jakarta-httpclient/ForAbsoluteBeginners#head-a110969063be34fcd964aeba55ae23bea12ac232

it should provide handling of HTTP protocol, including some redirect support
and cookie management?

> > Should I take care of redirects somehow to normalize URLs if they are not
> > normalized yet?
> Yes, you should

Could you please explain how can I handle redirects? Is there any way for
placing hook or register some callback?

-- 
Eugene N Dzhurinsky

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

Reply via email to