|
NAMECatalyst::Request::Upload - handles file upload requestsSYNOPSISmy $data_part = To specify where Catalyst should put the temporary files, set the 'uploadtmp' option in the Catalyst config. If unset, Catalyst will use the system temp dir. __PACKAGE__->config( uploadtmp => '/path/to/tmpdir' ); See also Catalyst. DESCRIPTIONATTRIBUTESThis class defines the following immutable attributesraw_dataThe raw data as returned via HTTP::Body.nameThe part name that gets extracted from the content-disposition header.sizeThe raw byte count (over http) of the data. This is not the same as the character lengthheadersAn HTTP::Headers object that represents the submitted headers of the POST. This object will handle the following methods:content_type content_encoding content_type_charset These three methods are the same as methods described in HTTP::Headers. METHODSbuild_from_part_dataFactory method to build an object from part data returned by HTTP::Bodypart_data_has_complex_headersReturns true if there more than one header (indicates the part data is complex and contains content type and encoding information.).AUTHORSCatalyst Contributors, see Catalyst.pmCOPYRIGHTThis library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |