clintonm9 has asked for the wisdom of the Perl Monks concerning the following question:
I am writing a RESTFul mod_perl program and having a hard time sending different http status codes back to the client.
I am currently using the Apache2::Registry handler.
I have tried many different wants to send back a different status code with no luck.
I have also tried with no luck:my($r) = shift; $r->status_line("401");
&return Apache2::Const::HTTP_UNAUTHORIZED;
Do i have to write my own handle to send back different error status?return Apache2::Status::HTTP_UNAUTHORIZED;
Back to
Seekers of Perl Wisdom