From: Marius Gavrilescu Date: Wed, 5 Feb 2014 13:58:59 +0000 (+0200) Subject: Enable Plack::Middleware::ContentLength X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=287424cb98bfbf2787fb1ab64ee3fdf162688df1;p=gruntmaster-page.git Enable Plack::Middleware::ContentLength --- 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';