Response NotModified - View plugin to return a 304 Response
my $response = $hector->getResponse();
This view plugin is automatically used by PSGI::Hector::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) 2017 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 PSGI::Hector, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PSGI::Hector
CPAN shell
perl -MCPAN -e shell install PSGI::Hector
For more information on module installation, please visit the detailed CPAN module installation guide.