src/server/webdav/multistatus.c

branch
webdav
changeset 251
f727a21497bb
parent 242
c337a7ac82a8
child 252
5653a9626cc0
equal deleted inserted replaced
250:f4d93355b054 251:f727a21497bb
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];

mercurial