X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fwebcit.c;fp=webcit%2Fwebcit.c;h=22bd92a99f87051e8fade0f53db3c3c003ed947b;hp=f067d446bf6581549aae5356578e2d7b9ee224a4;hb=fb6f6fa4ec4e3277e30d84326d48e6850822d318;hpb=a64bfc27dd3a05603efa1a729cc1ae4922e7ed17 diff --git a/webcit/webcit.c b/webcit/webcit.c index f067d446b..22bd92a99 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -224,11 +224,15 @@ void http_redirect(const char *whichpage) { /* - * Output a piece of content to the web browser using conformant HTTP and MIME semantics + * Output a piece of content to the web browser using conformant HTTP and MIME semantics. + * + * If this function is called, it is expected that begin_burst() has already been called + * and some sort of content has been fed into the buffer. This function will transmit a + * bunch of headers to the client. end_burst() will add some headers of its own, and then + * transmit the buffered content to the client. */ void http_transmit_thing(const char *content_type, int is_static) { - syslog(9, "http_transmit_thing(%s)%s", content_type, ((is_static > 0) ? " (static)" : "")); output_headers(0, 0, 0, 0, 0, is_static);