[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spiffy relies on content-length (was Re: [Chicken-users] Spiffy reli
Re: Spiffy relies on content-length (was Re: [Chicken-users] Spiffy relies on removed proc.)
Sun, 16 Mar 2008 23:06:33 +0100
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.
"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
Description: PGP signature