
stas at stason
Nov 26, 2003, 10:51 AM
Post #2 of 2
(1235 views)
Permalink
|
|
Re: cvs commit: modperl-docs/src/docs/2.0/user/handlers intro.pod
[In reply to]
|
|
Geoffrey Young wrote: >> +handler, but C<Apache::OK>. If you want to set the status for the HTTP >> +response, use the C<$r-E<gt>status()> method. > > > this is never a good idea, for reasons I have stated several times on the > main lists. Right, thanks for proofreading it, Geoff. I've changed it to: Therefore you don't want to return C<Apache::HTTP_OK> from your HTTP response handler, but C<Apache::OK> and Apache will send the C<200 OK> status by itself. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas [at] stason http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: docs-dev-unsubscribe [at] perl For additional commands, e-mail: docs-dev-help [at] perl
|