MCPcopy Create free account
hub / github.com/apache/httpd / dav_finish_multistatus

Function dav_finish_multistatus

modules/dav/main/mod_dav.c:573–586  ·  view source on GitHub ↗

Finish a multistatus response started by dav_begin_multistatus: */

Source from the content-addressed store, hash-verified

571
572/* Finish a multistatus response started by dav_begin_multistatus: */
573DAV_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
588DAV_DECLARE(void) dav_send_multistatus(request_rec *r, int status,
589 dav_response *first,

Callers 3

dav_send_multistatusFunction · 0.85
dav_method_propfindFunction · 0.85
mod_dav.hFile · 0.85

Calls 1

ap_pass_brigadeFunction · 0.85

Tested by

no test coverage detected