[Catalyst] Setting file handle as the response body generates
warnings.
Bill Moseley
moseley at hank.org
Wed Nov 20 17:08:23 GMT 2013
On Wed, Nov 20, 2013 at 7:37 AM, Bill Moseley <moseley at hank.org> wrote:
>
> On Wed, Nov 20, 2013 at 4:08 AM, neil.lunn <neil at mylunn.id.au> wrote:
>
>> my $length =3D $body->getHeaderInfo
>
>
> Well, that's helpful. Thanks. Completely missed that in the docs.
>
Well, except for the actual files I have no ISIZE:
$VAR1 =3D {
'Time' =3D> 0,
'Flags' =3D> 0,
'TextFlag' =3D> 0,
'MethodID' =3D> 8,
'ExtraField' =3D> [],
'CommentFlag' =3D> 0,
'Type' =3D> 'rfc1952',
'NameFlag' =3D> 0,
'ExtraFlags' =3D> 0,
'HeaderCRC' =3D> undef,
'isMinimalHeader' =3D> 0,
'MethodName' =3D> 'Deflated',
'ExtraFlag' =3D> 0,
'HeaderLength' =3D> 10,
'ExtraFieldRaw' =3D> undef,
'Comment' =3D> undef,
'OsName' =3D> 'Unix',
'FingerprintLength' =3D> 2,
'HeaderCRCFlag' =3D> 0,
'OsID' =3D> 3,
'TrailerLength' =3D> 8,
'Name' =3D> undef,
'Header' =3D> ''
};
And even if I gzip a file (e.g. $ gzip foo.txt) then the resulting
foo.txt.gz has 'ISIZE' =3D> 0,
-- =
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20131120/b0b23=
1ca/attachment.htm
More information about the Catalyst
mailing list