--- View.pm.dist 2010-11-19 17:06:17.000000000 +1300 +++ View.pm.new 2010-11-19 17:19:09.000000000 +1300 @@ -494,7 +494,7 @@ my $length = length( $fileContent ); my $dispo = 'inline;filename='.$fileName; - $session->{response}->header(-type => $type, qq(Content-Disposition="$dispo") ); + $session->{response}->header(-type => $type, -attachment => $fileName ); $session->{response}->body($fileContent); }