RE: Setting Content-Type in a custom response (mp2)

2010-03-12 Thread Andreas Mock
en! Best regards Andreas Mock -Ursprüngliche Nachricht- Von: Steve Hay Gesendet: 12.03.2010 10:58:15 An: "Torsten Förtsch" ,modperl@perl.apache.org Betreff: RE: Setting Content-Type in a custom response (mp2) >Torsten Förtsch wrote on 2010-03-11: >> On Thursday 11 March

RE: Setting Content-Type in a custom response (mp2)

2010-03-12 Thread Steve Hay
Torsten Förtsch wrote on 2010-03-11: > On Thursday 11 March 2010 15:18:08 Steve Hay wrote: >> I have a mod_perl-2 handler that uses custom_response() to display >> error messages if something goes wrong: >> >> $r->custom_response(Apache2::Const::SERVER_ERROR, $error); >> return Apache2::Const::SER

Re: Setting Content-Type in a custom response (mp2)

2010-03-11 Thread Torsten Förtsch
On Thursday 11 March 2010 15:18:08 Steve Hay wrote: > I have a mod_perl-2 handler that uses custom_response() to display error > messages if something goes wrong: > > $r->custom_response(Apache2::Const::SERVER_ERROR, $error); > return Apache2::Const::SERVER_ERROR; > > That almost works fine, but