Response NotModified - View plugin to return a 304 Response
my $response = $mungo->getResponse();
This view plugin is automatically used by CGI::Mungo::Response when the request Etag matches the current request, eg, the client has a copy of the page already.
Constructor, sets the HTTP response code to 304
$response->display();
This method is called automatically at the end of an action.
Just displays the HTTP headers as no body is needed for a 304 response.
MacGyveR <dumb@cpan.org>
Development questions, bug reports, and patches are welcome to the above address
Copyright (c) 2013 MacGyveR. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CGI::Mungo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Mungo
CPAN shell
perl -MCPAN -e shell install CGI::Mungo
For more information on module installation, please visit the detailed CPAN module installation guide.