-
-
rack-simple-middleware
Make Rack middleware simple
rack-simple-middleware
======================
Make Rack middleware simple
-
django-redirect-middleware
... unconditional redirect's rather than Django's contrib module
======================================
Django Redirect Middleware
======================================
Quick Start
```````````
Add ``django.contrib.redirects`` to INSTALLED_APPS ::
...
-
plack-middleware-dirindex
... Plack::App::Directory and the like
# NAME
Plack::Middleware::DirIndex - Middleware to use with Plack::App::Directory and the ... use Plack::Builder;
use Plack::App::File;
use Plack::Middleware::DirIndex;
my $app = Plack::App::File->new({ root => ...
-
Plack-Middleware-Warn-txt
... up,
you should just be able to do
% cpanm Plack::Middleware::Warn::txt
Download it, unpack it, then build it as ... && make test
Then install it:
% make install
DOCUMENTATION
Plack::Middleware::Warn::txt documentation is available as in POD. So ...
-
Plack-Middleware-CustomErrorDocument
... => 'path/to/error/doc',
);
# or with Plack::Builder:
builder {
enable "Plack::Middleware::CustomErrorDocument",
404 => sub {
...;
};
$app;
};
# subrequests are possible, as with Plack:: ...
-
Plack-Middleware-Try
... "text/plain" ], ["Service Temporarily Unavailable"] ];
}
},
finally => sub {
warn $_;
};
```
## DESCRIPTION
Plack::Middleware::Try is a Plack Middleware for handling exceptions thrown by an application.
For example, when an ...
-
MC-Middleware
基于近场虚拟化技术的移动云计算框架
MC-Middleware
=============
基于近场虚拟化技术的移动云计算框架
-
Plack-Middleware-GTop-ProcMem
... ->callback->( $env, $res, $before, $after )
if $self->callback;
});
}
1;
__END__
=head1 NAME
Plack::Middleware::GTop::ProcMem - for measuring process memory
=head1 SYNOPSIS
use Plack::Builder;
builder {
enable 'GTop::ProcMem ...
-
Plack-Middleware-Scss-Lite
... ->app->($env);
}
1;
__END__
=encoding utf8
=head1 NAME
Plack::Middleware::Scss::Lite - A module for you
=head1 SYNOPSIS
use ... on deployment hook.
=head1 What's different between Plack::Middleware::File::Sass?
=over 4
=item This module is simpler ...
-
metriks-middleware
Rack middleware to track throughput and response time with metriks
# Rack Middleware for [Metriks](https://github.com/eric/metriks)
Rack middleware to track throughput and response time with metriks.
-