[Bese-devel] per-application.js

Marijn Haverbeke marijnh at gmail.com
Tue Jun 20 12:50:40 UTC 2006


Hi,

I was looking at the per-application-javascript.lisp file, and I wondered
what it is for. Wouldn't per-application javascript be something you add in
your own application, instead of modifying a file in the UCW source tree?

But the reason I was looking at that file in the first place is that I was
getting mysterious errors whenever I handled a request:

13:54 UCW.BACKEND/+ERROR+: Error while shutdown'ing response: #<TYPE-ERROR
{AD43BA1}>.
13:54 UCW.BACKEND/+ERROR+: Error while shutdown'ing response: #<SIMPLE-ERROR
{AD4C141}>.

This is with mod-lisp as a backend, and after digging for a bit I figured
out this was because mod-lisp-send-headers ran across a header that didn't
have a value, when handling a request for the per-application.js file. The
offending header is a "Content-Length" one, it appears in the headers of the
response, but does not have a value (or a value of nil). I'm puzzled about
where this header comes from, especially since mod-lisp-send-headers seems
to have its own functionality for adding the Content-Length header. What
could this be?

By the way, the patch to select-fields I sent yesterday arrive for anybody?
I couldn't see it in the archive yet. Maybe messages with an attachment have
to be approved first? Anyway, let me know if I should resend it. I put a lot
of love into that patch so I wouldn't want it to be lost :P

Marijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20060620/613d6def/attachment.html>


More information about the bese-devel mailing list