some bug fixing

added some tests
This commit is contained in:
JT Smith 2007-12-16 18:56:36 +00:00
parent b70ef9d23a
commit 1ce61982ed
7 changed files with 66 additions and 68 deletions

View file

@ -64,7 +64,10 @@ sub handler {
use strict;
if ($output) {
unless ($output eq "none" || $output eq "redirect") {
$session->output->print($output) unless ($output eq "chunked");
unless ($output eq "chunked") {
$session->http->sendHeader();
$session->output->print($output)
}
if ($session->errorHandler->canShowDebug()) {
$session->output->print($session->errorHandler->showDebug(),1);
}