dear monksters,
consider the following modperl handler code snippet, where I explicitly return a HTTP status code of 200.
sub return_test {
return Apache2::Const::OK;
}
Is there an elegant way to return the original http status code as a return value ? For example, if this handler was called due to a HTTP Status code of 500 is there any cute way to forward ?
update thx, serious brain cramp ....
In reply to passing HTTP status code by cutlass2006
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |