Finish a multistatus response started by dav_begin_multistatus: */
| 571 | |
| 572 | /* Finish a multistatus response started by dav_begin_multistatus: */ |
| 573 | DAV_DECLARE(apr_status_t) dav_finish_multistatus(request_rec *r, |
| 574 | apr_bucket_brigade *bb) |
| 575 | { |
| 576 | apr_bucket *b; |
| 577 | |
| 578 | ap_fputs(r->output_filters, bb, "</D:multistatus>" DEBUG_CR); |
| 579 | |
| 580 | /* indicate the end of the response body */ |
| 581 | b = apr_bucket_eos_create(r->connection->bucket_alloc); |
| 582 | APR_BRIGADE_INSERT_TAIL(bb, b); |
| 583 | |
| 584 | /* deliver whatever might be remaining in the brigade */ |
| 585 | return ap_pass_brigade(r->output_filters, bb); |
| 586 | } |
| 587 | |
| 588 | DAV_DECLARE(void) dav_send_multistatus(request_rec *r, int status, |
| 589 | dav_response *first, |
no test coverage detected