Hi Red,
Thanks for the patch. (But note the guidelines at http://weitz.de/patches.html...)
I'm unsure whether I want to accept the patch, though. I don't really want to add a dependency on another library which in turn depends on another library for a pretty rare case. I'd rather implement a hook or something so that Drakma users can pre-process the content externally.
Cheers, Edi.
On Thu, Jan 21, 2010 at 10:57 AM, Red Daly reddaly@gmail.com wrote:
Dear drakma users,
I made drakma accept gzipped message bodies by default, and also automatically decode them. A patch is attached.
Unfortunately this adds a new dependency on gzip-sequence (which in turn depends on salza2). See the docstrings for more details. To sum it up: if WANT-STREAM is T, It wraps the returned stream in a flexi-stream that wraps a gzip-input-stream. Otherwise, it decodes the sequence before returning from HTTP-REQUEST.
Thanks, Red
drakma-devel mailing list drakma-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel