NAME
Response NotModified - View plugin to return a 304 Response
SYNOPSIS
my $response = $hector->getResponse();
DESCRIPTION
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.
METHODS
new($hector)
Constructor, sets the HTTP response code to 304
display()
$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.
Notes
Author
MacGyveR <dumb@cpan.org>
Development questions, bug reports, and patches are welcome to the above address.
See Also
Copyright
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.