Consider HEAD a readonly method in Redmine.pm #1134

This commit is contained in:
Holger Just 2013-01-06 20:01:59 +01:00
parent 5156fbbfc4
commit a93a3af895
1 changed files with 1 additions and 1 deletions

View File

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