projects
/
catagits/Catalyst-Action-REST.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0a6732c
)
Sort list of allowed methods. RT#81825
Dagfinn Ilmari Mannsåker [Sun, 9 Dec 2012 19:25:50 +0000 (19:25 +0000)]
Changes
patch
|
blob
|
blame
|
history
lib/Catalyst/Action/REST.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
2b230e2
..
23717ea
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,3
+1,5
@@
+ Sort list of allowed methods. RT#81825
+
Mon 2 Jul 2012 20:13:00 BST - Release 1.05
Bugfix get_allowed_methods list:
* include HEAD
diff --git
a/lib/Catalyst/Action/REST.pm
b/lib/Catalyst/Action/REST.pm
index
6802f16
..
cad0fe8
100644
(file)
--- a/
lib/Catalyst/Action/REST.pm
+++ b/
lib/Catalyst/Action/REST.pm
@@
-158,7
+158,7
@@
sub get_allowed_methods {
};
$methods->{'HEAD'} = 1 if $methods->{'GET'};
delete $methods->{'not_implemented'};
- return keys %$methods;
+ return sort keys %$methods;
};
sub _return_options {