[drakma-devel] New release 0.11.0 (Was: Drakma and content-type)

Edi Weitz edi at agharta.de
Mon Oct 1 08:08:46 UTC 2007


On Sun, 30 Sep 2007 17:26:33 -0400, "Peter Eddy" <peter.eddy at gmail.com> wrote:

> I've spent some time today converting some code (cl-s3) to use
> drakma instead of s-http-client. In the process, one thing I thought
> might be useful in drakma is a caller-defined way of indicating that
> the content type is text or not. For example, a function like the
> following passed to (http-request)
>
> (defun text-content-type-p (type subtype) ..)
>
> Or perhaps some table of text content types defined as a special
> var. I know the caller could implement this themselves, but it seems
> like doing so might require the re-implementation of portions of
> http-request that deal with the charset and chunked incoding
> (i.e. the code within (when (and (string-equal type "text").
>
> Do you think this makes sense, or am I'm missing something?

[Please use the mailing list to discuss Drakma.]

Yes, that sounds like a reasonable request and I was planning to add
something like that anyway.  Please check if the new release provides
what you need.

Cheers,
Edi.



More information about the Drakma-devel mailing list