Redmine.pm: HEAD is not considered as a read-only method (#11749).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10279 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-09-02 12:59:27 +00:00
parent e1492f771c
commit 94db7c0029
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,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) = @_;