On Sun, 30 Sep 2007 17:26:33 -0400, "Peter Eddy" <peter.eddy(a)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.