Filters must use 'the second way'. Early hooks (before ap_run_handler()) must use 'the first way'.
I guess handlers do as they will. Bill At 10:36 AM 3/3/2003, Bill Stoddard wrote: >I see two ways for the server to send an error response to the client. > >First way: >- set r->status >- call ap_send_error_response() >(see protocol.c for an example) > >Second way: >- call ap_bucket_error_create(r->status) >- send the error bucket along with an EOS down the output filter stack > >Which is the preferred way and why? Seems we should be able to pick one way and use >it consistently. > >Bill >
