summaryrefslogtreecommitdiff
path: root/lib/Plack
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Plack')
-rw-r--r--lib/Plack/Middleware/ETag.pm19
1 files changed, 2 insertions, 17 deletions
diff --git a/lib/Plack/Middleware/ETag.pm b/lib/Plack/Middleware/ETag.pm
index 3623747..22dcc01 100644
--- a/lib/Plack/Middleware/ETag.pm
+++ b/lib/Plack/Middleware/ETag.pm
@@ -1,5 +1,7 @@
package Plack::Middleware::ETag;
+# ABSTRACT: Adds automatically an ETag header.
+
use strict;
use warnings;
use Digest::SHA;
@@ -77,10 +79,6 @@ sub _set_cache_control {
1;
__END__
-=head1 NAME
-
-Plack::Middleware::ETag - Adds automatically an ETag header.
-
=head1 SYNOPSIS
use Plack::Builder;
@@ -127,16 +125,3 @@ Will add "Cache-Control: must-revalidate, max-age=3600" to the headers.
Will not add an ETag if there is already a Last-Modified header.
=back
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut