projects
/
catagits/Catalyst-Action-REST.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
960e29e
)
Add HTTP method DELETE
nperez [Sun, 7 Feb 2010 01:45:40 +0000 (19:45 -0600)]
lib/Catalyst/Action/Deserialize.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Action/Deserialize.pm
b/lib/Catalyst/Action/Deserialize.pm
index
ead726d
..
de61f2d
100644
(file)
--- a/
lib/Catalyst/Action/Deserialize.pm
+++ b/
lib/Catalyst/Action/Deserialize.pm
@@
-16,7
+16,7
@@
sub execute {
my $self = shift;
my ( $controller, $c ) = @_;
- my @demethods = qw(POST PUT OPTIONS);
+ my @demethods = qw(POST PUT OPTIONS DELETE);
my $method = $c->request->method;
if ( grep /^$method$/, @demethods ) {
my ( $sclass, $sarg, $content_type ) =