From 287424cb98bfbf2787fb1ab64ee3fdf162688df1 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 5 Feb 2014 15:58:59 +0200 Subject: [PATCH] Enable Plack::Middleware::ContentLength --- app.psgi | 1 + 1 file changed, 1 insertion(+) diff --git a/app.psgi b/app.psgi index 17707ca..25cf90f 100644 --- 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'; -- 2.39.2