sub Script_OnFlush {
my $ref = $Response->{BinaryRef};
- $$ref = $cgi->header( '-expires' => 'now' ) . $$ref;
+ $$ref = $cgi->header( @FS::CGI::header ) . $$ref;
if ( dbh->can('sprintProfile') ) {
$$ref =~ s/<\/BODY>[\s\n]*<\/HTML>[\s\n]*$//i
or warn "can't remove";
- $$ref .= '<PRE>'. encode_entities(dbh->sprintProfile()). '</PRE>';
+ $$ref .= '<PRE>'. ("\n"x96). encode_entities(dbh->sprintProfile()). '</PRE>';
$$ref .= '</BODY></HTML>';