[Catalyst] Progress bar
Bill Moseley
moseley at hank.org
Wed Oct 17 00:16:04 GMT 2012
At one point Catalyst::Engine did this:
# Check for definedness as you could read '0'
while ( defined ( my $buffer =3D $self->read($c) ) ) {
$c->prepare_body_chunk($buffer);
}
Which meant that Catalyst::Plugin::UploadProgress could wrap/override
$c->prepare_body_chunk.
The code now does this ( in Catalyst::Request ):
while ( defined ( my $buffer =3D $self->read() ) ) {
$self->prepare_body_chunk($buffer);
}
Which breaks that functionality.
How can I get the upload byte count into $c->cache so that my AJAX request
can get updated upload stats?
Thanks,
-- =
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20121016/a93f0=
64e/attachment.htm
More information about the Catalyst
mailing list