$self->cgi->header( { 'Content-Type' => ( $args{type} || 'text/xml' ), 'Set-Cookie' => $self->cookie, } );