Skip Menu |

This queue is for tickets about the HTTP-OAI CPAN distribution.

Report information
The Basics
Id: 27164
Status: rejected
Priority: 0/
Queue: HTTP-OAI

People
Owner: Nobody in particular
Requestors: nobody [...] pseudo.borked.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: enable compression by letting LWP do the work
Date: Wed, 16 May 2007 15:41:05 -0600 (MDT)
To: bug-HTTP-OAI [...] rt.cpan.org
From: Borked Pseudo Mailed <nobody [...] pseudo.borked.net>
i see in HTTP::OAI::UserAgent there is some work for decompressing encoded content, but there is a simpler and more robust way to accomplish this- just call $response->decoded_content.
From: TIMBRODY [...] cpan.org
On Wed May 16 17:40:57 2007, nobody@pseudo.borked.net wrote: Show quoted text
> i see in HTTP::OAI::UserAgent there is some work for decompressing > encoded content, but there is a simpler and more robust way > to accomplish this- just call $response->decoded_content.
decoded_content isn't in the RHEL4 libwww package. Responses are written to a temporary file (otherwise memory will break on large OAI chunks), so ->content is always empty, I presume decoded_content will be the same too.