sukria/dancer2 — Issue #12: keyword "delete" doesn't work
Author: geistteufel
Created: 2011-11-12 19:52:59+00:00
State: open

I have test the DELETE keyword.

"delete" is a perl core command, it's used for delete a key in a hash or an array, so we can't use it in the keywords name space.

This code give me an error :

use Dancer;
set serializer => 'JSON';

delete '/login' => sub {
return { response => 'OK' };
};

start;