Demo site loads
This commit is contained in:
parent
158124cf37
commit
d858c6e1ab
8 changed files with 99 additions and 227 deletions
|
|
@ -20,8 +20,6 @@ use Time::HiRes;
|
|||
use WebGUI::Asset;
|
||||
use WebGUI::PassiveAnalytics::Logging;
|
||||
|
||||
use Apache2::Const -compile => qw(OK);
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Content::MyHandler
|
||||
|
|
@ -131,7 +129,7 @@ sub handler {
|
|||
my $oldContentType = $request->content_type($ct);
|
||||
if ($request->sendfile($filename) ) {
|
||||
$session->close;
|
||||
return Apache2::Const::OK;
|
||||
return; # TODO - what should we return to indicate streaming?
|
||||
}
|
||||
else {
|
||||
$request->content_type($oldContentType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue