projects
/
catagits/Catalyst-Action-REST.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d5252c2
)
Add HEAD requests support to T::Rest
Wallace Reis [Fri, 22 Jun 2012 11:12:12 +0000 (13:12 +0200)]
t/lib/Test/Rest.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/Test/Rest.pm
b/t/lib/Test/Rest.pm
index
854e5c8
..
7032cc8
100644
(file)
--- a/
t/lib/Test/Rest.pm
+++ b/
t/lib/Test/Rest.pm
@@
-20,7
+20,7
@@
sub new {
}
{
- my @non_data_methods = qw(GET DELETE OPTIONS);
+ my @non_data_methods = qw(HEAD GET DELETE OPTIONS);
foreach my $method (@non_data_methods) {
no strict 'refs';
my $sub = lc($method);