diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-03-18 20:54:56 +0000 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-03-18 20:54:56 +0000 |
commit | c4ea24c6ee86c2e6544aff08197d1ec2a162aef9 (patch) | |
tree | d21f9447fa3bbb44fe58f0754e1dcce10333dcf9 | |
parent | 68c00efedb777d59e610f46a121c56e3cc3f9444 (diff) | |
download | http-mq-c4ea24c6ee86c2e6544aff08197d1ec2a162aef9.tar.gz http-mq-c4ea24c6ee86c2e6544aff08197d1ec2a162aef9.tar.bz2 http-mq-c4ea24c6ee86c2e6544aff08197d1ec2a162aef9.tar.xz http-mq-c4ea24c6ee86c2e6544aff08197d1ec2a162aef9.zip |
o Updating list of allowed methods.
-rw-r--r-- | queue.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); } } ?> |