253 writer_puts(out, S(" </D:response>\n")); |
253 writer_puts(out, S(" </D:response>\n")); |
254 |
254 |
255 return out->error; |
255 return out->error; |
256 } |
256 } |
257 |
257 |
258 int multistatus_send(Multistatus *ms, SYS_NETFD net) { |
258 int multistatus_send(Multistatus *ms, SYS_NETFD net) { |
259 // start http response |
259 // start http response |
260 protocol_status(ms->sn, ms->rq, 207, NULL); |
260 protocol_status(ms->sn, ms->rq, 207, NULL); |
261 protocol_start_response(ms->sn, ms->rq); |
261 protocol_start_response(ms->sn, ms->rq); |
262 |
262 |
263 char buffer[MULTISTATUS_BUFFER_LENGTH]; |
263 char buffer[MULTISTATUS_BUFFER_LENGTH]; |