X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fgroupdav_put.c;h=48f0b4a8534fd90f74693504fe13210d11123d22;hb=19efac53a8a87446e66e6e0213d7f9b46af60a48;hp=8d08a1e49d184e88999b554127c115adb94dac05;hpb=2de0bf4c61fbe29da0952c04192739f4d347a31d;p=citadel.git diff --git a/webcit/groupdav_put.c b/webcit/groupdav_put.c index 8d08a1e49..48f0b4a85 100644 --- a/webcit/groupdav_put.c +++ b/webcit/groupdav_put.c @@ -33,6 +33,7 @@ void groupdav_put_bigics(void) hprintf("HTTP/1.1 502 Bad Gateway\r\n"); groupdav_common_headers(); hprintf("Content-type: text/plain\r\n"); + begin_burst(); wprintf("%s\r\n", &buf[4]); end_burst(); return; @@ -70,6 +71,7 @@ void groupdav_put(void) hprintf("HTTP/1.1 404 not found\r\n"); groupdav_common_headers(); hprintf("Content-Type: text/plain\r\n"); + begin_burst(); wprintf("The object you requested was not found.\r\n"); end_burst(); return; @@ -92,6 +94,7 @@ void groupdav_put(void) hprintf("HTTP/1.1 404 not found\r\n"); groupdav_common_headers(); hprintf("Content-Type: text/plain\r\n"); + begin_burst(); wprintf("There is no folder called \"%s\" on this server.\r\n", ChrPtr(dav_roomname)); end_burst(); @@ -116,7 +119,7 @@ void groupdav_put(void) lprintf(9, "HTTP/1.1 412 Precondition Failed (ifmatch=%ld, old_msgnum=%ld)\r\n", StrTol(WCC->Hdr->HR.dav_ifmatch), old_msgnum); groupdav_common_headers(); - hprintf("Content-Length: 0\r\n"); + end_burst(); FreeStrBuf(&dav_roomname); FreeStrBuf(&dav_uid); @@ -144,7 +147,7 @@ void groupdav_put(void) hprintf("HTTP/1.1 502 Bad Gateway\r\n"); groupdav_common_headers(); hprintf("Content-type: text/plain\r\n"); - + begin_burst(); wprintf("%s\r\n", &buf[4]); end_burst(); return; @@ -181,6 +184,7 @@ void groupdav_put(void) hprintf("HTTP/1.1 502 Bad Gateway\r\n"); groupdav_common_headers(); hprintf("Content-type: text/plain\r\n"); + begin_burst(); wprintf("new_msgnum is %ld\r\n" "\r\n", new_msgnum); end_burst();