This is a discussion on Re: status code / constant question - modperl ; 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 ...
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).
>
> mod_perl 1 tried to make it easy by translating a '200' that was
> returned by a
> handler into a '0', but it was really just covering mistakes by
> developers (me
> included).
a ha! awesome. i so didn't realize that.
i'll die into the ^HTTP_ section of the docs and update all my code
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -