Everything is OK, until you post values and get:
[uwsgi-perl error] Bad Content-Length: maybe client disconnect? (45 bytes remaining) at /home/user/perl5/lib/perl5/Plack/Middleware/Debug/Parameters.pm line 20.
The skeleton of the application is:
use Modern::Perl;
use HTML::Mason::PSGIHandler;
$app = sub {
my $env = shift;
$h = HTML::Mason::PSGIHandler->new(%mason_config);
$h->handle_psgi($env);
}
use Plack::Builder;
my $b = builder {
enable "Debug", panels => ['Parameters'];
$app;
}
What causes this problem?