On Fri, 13 Aug 2004 12:51:32 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote:
> John Siracusa wrote:
> > On Fri, 13 Aug 2004 15:38:41 -0400, Geoffrey Young wrote:
> >
> >>>  return 200;
> >>
> >>this is wrong - you should be returning OK (0) not HTTP_OK (200) from
> >>handlers if everything is swell.  while 200 works in mp1 (due to mod_perl
> >>"guessing" what you meant) you cannot do this in mod_perl 2.0.  so, if you
> >>do it correctly now you'll have one less thing to migrate later :)
> >
> > Whoops, I was just trying to reduce the length of the example code by not
> > use()ing Apache::Constants :)
> 
> Apache::Constants::OK == 0, not 200

Thus the "whoops" :)  I was just saying that I got it wrong because I always
use Apache::Constants in actual code.

-John



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to