Enable Plack::Middleware::ContentLength
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 5 Feb 2014 13:58:59 +0000 (15:58 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 5 Feb 2014 13:58:59 +0000 (15:58 +0200)
app.psgi

index 17707caf8cbaad7bc7efa1af377446a8cdcbbe7c..25cf90f686f627746f26560b8be9c99b03e680ea 100644 (file)
--- a/app.psgi
+++ b/app.psgi
@@ -12,6 +12,7 @@ sub some_auth_required {
 }
 
 builder {
+       enable 'ContentLength';
        enable 'Static', path => qr,/static/,;
        enable 'Log4perl', category => 'plack', conf => 'log.conf';
        enable_if \&some_auth_required, 'Auth::Basic', authenticator => sub { eval {pwcheck @_; 1} }, realm => 'Gruntmaster 6000';
This page took 0.010389 seconds and 4 git commands to generate.