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:
parent
e1492f771c
commit
94db7c0029
|
@ -295,7 +295,7 @@ sub set_val {
|
||||||
Apache2::Module::add(__PACKAGE__, \@directives);
|
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 {
|
sub request_is_read_only {
|
||||||
my ($r) = @_;
|
my ($r) = @_;
|
||||||
|
|
Loading…
Reference in New Issue