print "Content-type: text/html\n\n
error
## sub finalize_error { my ( $self, $c ) = @_; $c->res->content_type('text/html; charset=utf-8'); $c->res->body( 'error' ); $c->res->status(500); }