chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spiffy relies on content-length (was Re: [Chicken-users] Spiffy reli


From: Peter Bex
Subject: Re: Spiffy relies on content-length (was Re: [Chicken-users] Spiffy relies on removed proc.)
Date: Sun, 16 Mar 2008 23:06:33 +0100
User-agent: Mutt/1.4.2.3i

On Sun, Mar 16, 2008 at 02:56:11PM -0700, Robin Lee Powell wrote:
> With define-http-resource, *Spiffy* defines the headers, and it
> never asks the body.  In fact, the headers are sent before the body
> is run.

That's not entirely correct.  Spiffy parameterizes the headers.  You
can override them in the body.

However, I *do* think that Spiffy should do the Right Thing and send
the Content-Length header.  I'm trying to come up with a test case
so I can have something to ensure this will not happen in the future.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgphy2GFQJtuN.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]