Manual Reference Pages - HTML::FORMFU::CONSTRAINT::FILE::MIME (3)
HTML::FormFu::Constraint::File::MIME - MIME Type Constraint
Constraint an uploaded files MIME-type (Content-Type).
types is checked before regex.
Accepts a single MIME-type or an arrayref of MIME-types. Each is checked
against the uploaded files MIME-type (as given by the browser), and the
constraint passes if any one of the given types matches.
Accepts a string to be interpreted as a regex, and is checked against the
uploaded filess MIME-type (as given by the browser).
The regex uses the /x flag, so that whitespace in the given string is
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint
Carl Franks, email@example.com
This library is free software, you can redistribute it and/or modify it under
the same terms as Perl itself.
|perl v5.20.3 ||HTML::FORMFU::CONSTRAINT::FILE::MIME (3) ||2014-05-05 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.