projects
/
catagits/Catalyst-Action-REST.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add HTTP method DELETE
[catagits/Catalyst-Action-REST.git]
/
lib
/
Catalyst
/
Action
/
Deserialize.pm
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 ) =