}
+// 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;