From a93a3af8952aec34727592d0319c1f548f843812 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sun, 6 Jan 2013 20:01:59 +0100 Subject: [PATCH] Consider HEAD a readonly method in Redmine.pm #1134 --- extra/svn/Redmine.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm index 0fa14d48..80b334aa 100644 --- a/extra/svn/Redmine.pm +++ b/extra/svn/Redmine.pm @@ -286,7 +286,7 @@ sub set_val { Apache2::Module::add(__PACKAGE__, \@directives); -my %read_only_methods = map { $_ => 1 } qw/GET PROPFIND REPORT OPTIONS/; +my %read_only_methods = map { $_ => 1 } qw/GET HEAD PROPFIND REPORT OPTIONS/; sub request_is_read_only { my ($r) = @_;