[mod-lisp-devel] Patch: mod_lisp2 and HEAD requests

Marc Battyani marc.battyani at fractalconcept.com
Mon Dec 27 18:47:03 UTC 2004


"Edi Weitz" <edi at agharta.de> wrote:

> On Mon, 27 Dec 2004 16:32:52 +0100, "Marc Battyani"
<marc.battyani at fractalconcept.com> wrote:
>
> > Maybe we could add a Lisp-Content-Length that would be used for the
> > socket keep alive stuff and just pass the Content-Length to
> > Apache. Or better a new HTTP-Content-Length header so that it's
> > still compatible with the current protocol.
>
> I've added a "Lisp-Content-Length" header for both versions (see
> attachment) that can be used to overwrite the normal "Content-Lenght"
> value:
>
> 1. "Content-Length" is used for the header sent to the browser.
>
> 2. If "Lisp-Content-Length" is also specified and sent after the
>    "Content-Length" header then this is supposed to be the length of
>    the body sent by Lisp.  Otherwise "Content-Length" is used as
>    before.
>
> This should be compatible with old applications.

Good. I've updated the repository.

Cheers,

Marc





More information about the mod-lisp-devel mailing list