Dancer2::Core::Role::StandardResponses - Role to provide commonly used responses
Generic method that produces a response given with a code and a message:
$self->response( $app, 404, "not found" );
Produces a 400 response
Produces a 404 response
Produces a 403 response
Dancer Core Developers
This software is copyright (c) 2014 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.