httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: Status of uploads in 2.05-dev?
Date Sat, 16 Apr 2005 16:37:18 GMT
Andy Grundman <andy@hybridized.org> writes:

> Hi guys,
>
> I saw this in the 2.05-dev changelog:
> - C, Perl API [joes]
>    Several upload-related bugfixes:
>     1) apreq_upload and apreq_uploads did not search the full body table,
>
> I'm currently using 2.04 and trying to handle multiple upload fields
> in a single form, and also more than one upload field with the same
> parameter name.  They both appear to be broken.  Can you confirm if
> this is broken in 2.04 and if it will be fixed in 2.05? 

It is broken in 2.04-dev and we hope that it's now fixed in the 
multi-env branch (which will be the basis for the 2.05-dev release).

> Is my problem related to the above change?  Maybe I'm just doing
> something wrong?
>
> This code doesn't work:
> for my $field ( $req->upload ) {
>    for my $upload ( $req->upload($field) ) {
>      my $size = $upload->size;
>      # etc.
>    }
> }

It should work with the multi-env branch; if not please report it.

-- 
Joe Schaefer


Mime
View raw message