in reply to Re^2: http 1.0 keep-alive and mod_perl
in thread http 1.0 keep-alive and mod_perl

Maybe this will help: Content-Length Header.

Replies are listed 'Best First'.
Re^4: http 1.0 keep-alive and mod_perl
by morgon (Priest) on Oct 13, 2010 at 14:37 UTC
    Thanks a lot!

    This is indeed the difference - for static content apache sets the content-length whereas when using mod_perl you have to set it yourself.

    When setting a content-length header even http 1.0 clients can reuse the connection.