about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-04-19 12:04:23 +0200
committerfranck cuny <franck@lumberjaph.net>2011-04-19 12:04:23 +0200
commit09ef0b655489f3250ffc68d903eb1c14489c520f (patch)
treedc79531f58512ddde7c621024da8b094d9f26e72
parentadd dist.ini and remove makefile (diff)
downloadplack-middleware-etag-09ef0b655489f3250ffc68d903eb1c14489c520f.tar.gz
clean
-rw-r--r--dist.ini27
-rw-r--r--lib/Plack/Middleware/ETag.pm19
2 files changed, 29 insertions, 17 deletions
diff --git a/dist.ini b/dist.ini
new file mode 100644
index 0000000..da07814
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,27 @@
+name = Plack-Middleware-ETag
+author = franck cuny <franck@lumberjaph.net>
+license = Perl_5
+copyright_holder = franck cuny
+copyright_year = 2011
+version = 0.03
+
+[@Filter]
+bundle = @Basic
+remove = Readme
+[MetaConfig]
+[MetaJSON]
+[PkgVersion]
+[PodSyntaxTests]
+[PodCoverageTests]
+[NoTabsTests]
+[EOLTests]
+
+[MetaResources]
+repository = git://github.com/franckcuny/plack-middleware-etag.git
+bugtracker = http://rt.cpan.org/Public/Dist/Display.html?Name=Plack::Middleware::ETag
+homepage = http://search.cpan.org/perldoc?Plack::Middleware::ETag
+
+[PodWeaver]
+[AutoPrereqs]
+[CheckChangeLog]
+[UploadToCPAN]
\ No newline at end of file
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