summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queue.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/queue.php b/queue.php
index 2c7396f..aa14c8a 100644
--- a/queue.php
+++ b/queue.php
@@ -350,7 +350,7 @@ function queues($url_generator) {
}
break;
default:
- allow_methods("GET", "HEAD");
+ allow_methods("GET", "HEAD", "POST");
}
}
@@ -425,7 +425,7 @@ function queue($url_generator, $queue) {
$db->delete_queue_and_items($queue);
break;
default:
- allow_methods("GET", "HEAD", "DELETE");
+ allow_methods("GET", "HEAD", "PUT", "PATCH", "DELETE");
}
}
?>