Subject: | passing wrong header_object when running as CGI |
This:
elsif ( $self->can('cgi_object') )
{
%extra = ( header_object => $self->cgi_object,
param_object => $self->cgi_object,
);
}
passes a CGI object as "header_object", but a CGI cannot provide the
needed "err_headers_out()"/"headers_out()" methods. The following works:
elsif ( $self->can('cgi_request') and $self->can('cgi_object') )
{
%extra = ( header_object => $self->cgi_request,
param_object => $self->cgi_object,
);
}