On Oct 23, 2006, at 2:31 PM, Michael Peters wrote:
This is because your are confusing HTTP status codes and Apache
constants. They
are not the same. Apache2::Const::OK (which is what handlers
return) is
different from Apache2::Const::HTTP_OK (which is what the browser
eventually gets).
m
Jonathan wrote:
> I started supporting 400/403 errors in a mod_perl handler for an API on
> my projects
>
> I ran into this odd little issue:
>
> With this line:
> DEBUG_STATUS && print STDERR ("\n status-> " . $r->status() . ' | '
> . Apache2::Const::OK );
> I'd expect to see
> status-
On Sun, 2006-10-22 at 12:48 -0400, Jonathan wrote:
> I started supporting 400/403 errors in a mod_perl handler for an API
> on my projects
>
> I ran into this odd little issue:
>
> With this line:
> DEBUG_STATUS && print STDERR ("\n status-> " . $r->status() . ' |
> ' . Apache2::Const::