Consider HEAD a readonly method in Redmine.pm #1134
This commit is contained in:
parent
5156fbbfc4
commit
a93a3af895
|
@ -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) = @_;
|
||||
|
|
Loading…
Reference in New Issue