You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Hasan Diwan <ha...@gmail.com> on 2005/05/09 19:53:46 UTC

Re: [Nutch-dev] Update: HTTPClient for protocol-http and protocol-https

Andrzej:

On 07/05/05, Andrzej Bialecki <ab...@getopt.org> wrote:
> This is just a quick update on the subject. As a part of my work on
> Fetcher improvements I brought up-to-date a plugin (contributed by Andy
> Hedges and Ken Meltsner), which uses Jakarta Commons HttpClient for the
> HTTP handling. It handles internally all hairy issues such as redirects,
> timeouts, cookies, authentication, etc. I also added support for HTTPS
> and content-based redirection (meta http-equiv=refresh).
> 
> So far in my experience it works perfectly well - at least equally well
> to the existing protocol-http, plus of course all additional features...
> 
> I tested it on several sites, but I'm also looking for some brave souls
> ;-) to test it in their environment, preferably with heavy load, to see
> whether it behaves properly.

Was this compiled with Java 1.5? When I try to compile it into my
nutch installation, I get "class file has wrong version 49.0, should
be 48.0". Apparently, you need to use "-source 1.4" to create a
compatible class file for 1.4.
-- 
Cheers,
Hasan Diwan <ha...@gmail.com>

Re: [Nutch-dev] Update: HTTPClient for protocol-http and protocol-https

Posted by Andrzej Bialecki <ab...@getopt.org>.
Hasan Diwan wrote:

> Was this compiled with Java 1.5? When I try to compile it into my
> nutch installation, I get "class file has wrong version 49.0, should
> be 48.0". Apparently, you need to use "-source 1.4" to create a
> compatible class file for 1.4.

Oops, you are right... *blush* I forgot that I compiled the libs myself.

The code doesn't actually use the commons-httpclient-contrib, so if you 
just take a vanilla commons-httpclient.jar from the official 
distribution (3.0-rc2) all should be fine.

-- 
Best regards,
Andrzej Bialecki
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com