Issue Details (XML | Word | Printable)

Key: NUTCH-345
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andrzej Bialecki
Reporter: Pascal Beis
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Nutch

Add support for Content-Encoding: deflated

Created: 08/Aug/06 11:03 AM   Updated: 10/Apr/09 12:29 PM
Return to search
Component/s: fetcher
Affects Version/s: 0.9.0
Fix Version/s: 1.0.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File nutch-deflate.patch 2006-08-08 11:03 AM Pascal Beis 7 kB

Resolution Date: 27/Dec/08 01:48 PM


 Description  « Hide
Add support for the "deflated" content-encoding, next to the already
implemented GZIP content-encoding. Patch attached. See also the
"Patch: deflate encoding" thread on nutch-dev on August 7/8 2006.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Stefan Groschupf added a comment - 18/Aug/06 05:53 AM
Shouldn't the DeflateUtils also be part of the protocol-http plugin?
Also since it is a larger contribution and not just a small bug fix it would be great to have a junit test within the patch.
Thanks for the contribution.

Pascal Beis added a comment - 18/Aug/06 08:39 AM
The DeflateUtils are called by HttpBase in the lib-http plugin, which in turn is called by
HttpResponse in the protocol-http plugin. Maybe you mean it should also be a part of
the protocol-httpclient plugin?

I'll look into providing a junit test.

Cheers

Pascal


Andrzej Bialecki added a comment - 18/Aug/06 09:52 AM
Looks ok to me. Minor addition - protocol-httpclient Http.java and HttpResponse.java should be modified too, to indicate that we support this encoding.

Andrzej Bialecki added a comment - 27/Dec/08 01:49 PM
Fixed in rev. 697878. Sorry for the long wait, and thank you!