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

Edi Weitz edi at agharta.de
Mon Dec 27 17:24:33 UTC 2004


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.

Cheers,
Edi.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_lisp.c
Type: application/octet-stream
Size: 47847 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/mod-lisp-devel/attachments/20041227/73dc444e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_lisp2.c
Type: application/octet-stream
Size: 24212 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/mod-lisp-devel/attachments/20041227/73dc444e/attachment-0001.obj>


More information about the mod-lisp-devel mailing list