MacGyveR > CGI-Mungo > CGI::Mungo::Response::NotModified

Download:
Mungo/CGI-Mungo-1.9.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Response NotModified - View plugin to return a 304 Response

SYNOPSIS ^

        my $response = $mungo->getResponse();

DESCRIPTION ^

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.

METHODS ^

new($mungo)

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.

Author ^

MacGyveR <dumb@cpan.org>

Development questions, bug reports, and patches are welcome to the above address

Copyright ^

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.

syntax highlighting: