Plack-Middleware-Image-Scale
view release on metacpan or search on metacpan
ATTRIBUTES
path
Must be a RegexpRef, CodeRef, Str or Undef.
The PATH_INFO is compared against this value to evaluate if the request
should be processed. Undef (the default) will match always. PATH_INFO
is topicalized by settings it to $_, and it may be rewritten during
CodeRef matching. Rewriting can be used to relocate image paths, much
like path parameter for Plack::Middleware::Static.
If path matches, next it will be compared against "name". If path
doesn't match, the request will be delegated to the next middleware
layer or application.
match
Must be a RegexpRef, or CodeRef.
lib/Plack/Middleware/Image/Scale.pm view on Meta::CPAN
=head2 path
Must be a L<RegexpRef|Moose::Util::TypeConstraints/Default_Type_Constraints>,
L<CodeRef|Moose::Util::TypeConstraints/Default_Type_Constraints>,
L<Str|Moose::Util::TypeConstraints/Default_Type_Constraints> or
L<Undef|Moose::Util::TypeConstraints/Default_Type_Constraints>.
The L<PATH_INFO|PSGI/The_Environment> is compared against this value to
evaluate if the request should be processed. Undef (the default) will match
always. C<PATH_INFO> is topicalized by settings it to C<$_>, and it may be
rewritten during C<CodeRef> matching. Rewriting can be used to relocate image
paths, much like C<path> parameter for L<Plack::Middleware::Static>.
If path matches, next it will be compared against L</name>. If path doesn't
match, the request will be delegated to the next middleware layer or
application.
=head2 match
Must be a L<RegexpRef|Moose::Util::TypeConstraints/Default_Type_Constraints>,
or L<CodeRef|Moose::Util::TypeConstraints/Default_Type_Constraints>.
( run in 0.590 second using v1.01-cache-2.11-cpan-5511b514fd6 )