Various operations in the /ctdl/p/ hierarchy to handle uploading of attachments
[citadel.git] / webcit-ng / server / request.c
index 4b8b3b1d1363a80d2e995e51bbbd0ebf961ddd08..e598cf1f68dd7c8c41499a66070449fbbd47e68f 100644 (file)
@@ -22,6 +22,13 @@ void do_404(struct http_transaction *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;