// Copyright (c) 1996-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
-// disclosure are subject to the GNU General Public License v3.
+// disclosure is subject to the GNU General Public License v3.
#include "webcit.h"
}
+// Method not allowed
+void do_405(struct http_transaction *h) {
+ h->response_code = 412;
+ h->response_string = strdup("METHOD NOT ALLOWED");
+}
+
+
// Precondition failed (such as if-match)
void do_412(struct http_transaction *h) {
h->response_code = 412;