Hi, I'm using mod_perl2 and I'm trying to flush headers before the body content.
$r->content_type('application/zip'); $r->headers_out->add('Content-Disposition' => 'attachment'); $r->rflush; long_operation(); Unfortunately this does not work. The following works, but of course corrupts my output : $r->content_type('application/zip'); $r->headers_out->add('Content-Disposition' => 'attachment'); print "\0"; $r->rflush; long_operation(); Any clue ? Many thanks ! Ben