GET status line: ".$response->status_line.""; } unless ($self->get("cacheTimeout") <= 10) { $cacheContent->set($var{content},$self->get("cacheTimeout")); $cacheHeader->set($var{header},$self->get("cacheTimeout")); } } if($var{header} ne "text/html") { $self->session->http->setMimeType($var{header}); return $var{content}; } else { return $self->processTemplate(\%var,undef,$self->{_viewTemplate}); } } #------------------------------------------------------------------- sub www_view { my $self = shift; return $self->session->privilege->noAccess() unless $self->canView; $self->prepareView; my $output = $self->view; # this is s a stop gap. we need to do something here that deals with the real www_view and caching, etc. if ($self->session->http->getMimeType() ne "text/html") { return $output; } else { return $self->processStyle($output); } } 1;