]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/request.c
Skip/Goto are functionally complete.
[citadel.git] / webcit-ng / request.c
index f11865bbd3e9209b7f449ded9ce5405fa2f65454..20216a0efd55549d84e941b97cbb857087d6c6b9 100644 (file)
@@ -36,6 +36,13 @@ void do_412(struct http_transaction *h) {
 }
 
 
+// Succeed with no output
+void do_204(struct http_transaction *h) {
+       h->response_code = 204;
+       h->response_string = strdup("No content");
+}
+
+
 // We throw an HTTP error "502 bad gateway" when we need to connect to Citadel, but can't.
 void do_502(struct http_transaction *h) {
        h->response_code = 502;