[Haskell-cafe] Decompressing and http-enumerator

Brandon Allbery allbery.b at gmail.com
Mon Aug 29 10:52:12 CEST 2011

On Mon, Aug 29, 2011 at 04:08, Michael Snoyman <michael at snoyman.com> wrote:

> So one possible solution is to just add an option to never decompress
> response bodies, but that's a bit of a hack. The real question is:
> what's the correct way to handle these tarballs? Web browsers seem to
> know not to decompress them, but AFAICT http-enumerator is correctly
> following the spec by decompressing. Another possibility is to

"Seem to" is pretty much correct; it took years for some browsers to
reliably handle them correctly.  (Anyone else remember Mozilla saving
compressed tarballs uncompressed?)

brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110829/1a4ccebd/attachment.htm>

More information about the Haskell-Cafe mailing list