Plack::Middleware - Base class for easy-to-use PSGI middleware

Plack::Middleware is a utility base class to write PSGI middleware. All you have to do is to inherit from Plack::Middleware and then implement the callback "call" method (or the "to_app" method that would return the PSGI code reference) to do the act...

MIYAGAWA/Plack-1.0044 - 27 Apr 2017 17:48:20 GMT

Plack::Middleware::SSI - PSGI middleware for server side include content

Will try to handle HTML with server side include directives as well as doing what Plack::Middleware does for "regular files"....

ZARQUON/Plack-Middleware-SSI-0.14 - 15 Mar 2016 09:20:31 GMT

Plack::Middleware::Pod - render POD files as HTML

CORION/Plack-Middleware-Pod-0.05 - 30 Mar 2016 20:28:32 GMT

Plack::Middleware::P3P - Add standard (or custom) P3P header to response

This Plack::Middleware adds a P3P header to all responses (see the W3C page <http://www.w3.org/P3P/>). By default at adds the *CAO*, *PSA* and *OUR* policies. The default policies are enough to make Internet Explorer accept cookies from an iframe, th...

STAUGAARD/Plack-Middleware-P3P-0.001 - 25 Nov 2014 17:26:48 GMT

Plack::Middleware::REPL - REPL when your application throws errors or warnings

Plack::Middleware::REPL is a PSGI middleware component that enables REPL (read-eval-print-loop) when your application raises errors. # your Dancer app use Dancer; get '/' => sub { my $self = shift; my $n = parms()->{name}; # typo return "Hi there $n"...

MIYAGAWA/Plack-Middleware-REPL-0.01 - 13 May 2011 04:47:26 GMT

Plack::Middleware::XSLT - XSLT transformations with Plack

Plack::Middleware::XSLT converts XML response bodies to HTML, XML, or text using XML::LibXSLT. The XSLT stylesheet is specified by the environment variable 'xslt.style'. If this variable is undefined or empty, the response is not altered. This rather...

NWELLNHOF/Plack-Middleware-XSLT-0.30 - 18 Oct 2014 18:14:30 GMT

Plack::Middleware::WOVN - Translates PSGI application by using WOVN.io.

This is a Plack Middleware component for translating PSGI application by using WOVN.io. Before using this middleware, you must sign up and configure WOVN.io. This is a port of wovnjava (https://github.com/wovnio/wovnjava)....

MASIUCHI/Plack-Middleware-WOVN-0.09 - 08 Apr 2017 04:28:01 GMT

Plack::Middleware::MCCS - Middleware for serving static files with Plack::App::MCCS

This package allows serving static files with Plack::App::MCCS in the form of a middleware. It allows for more flexibility with regards to which paths are to be served by "MCCS", as the app can only be "mount"ed onto a certain path prefix. The middle...

IDOPEREL/Plack-App-MCCS-1.000000 - 24 Oct 2016 14:12:56 GMT

Plack::Middleware::ETag - Adds automatically an ETag header.

Plack::Middleware::ETag adds automatically an ETag header. You may want to use it with "Plack::Middleware::ConditionalGET". my $app = builder { enable "Plack::Middleware::ConditionalGET"; enable "Plack::Middleware::ETag", file_etag => "inode"; sub {[...

FRANCKC/Plack-Middleware-ETag-0.05 - 15 Jul 2015 04:04:18 GMT

Plack::Middleware::Lint - Validate request and response

Plack::Middleware::Lint is a middleware component to validate request and response environment formats. You are strongly suggested to use this middleware when you develop a new framework adapter or a new PSGI web server that implements the PSGI inter...

MIYAGAWA/Plack-1.0044 - 27 Apr 2017 17:48:20 GMT

Plack::Middleware::Cleanup - Run cleanup code after request completion

This middleware makes it possible to run code after the request cycle is complete and the client has received the response. Your application will see a callback in "$env->{'cleanup.register'}". Call this callback with any number of coderefs that you ...

HDP/Plack-Middleware-Cleanup-0.003 - 09 Sep 2011 19:52:06 GMT

Plack::Middleware::REST - Route PSGI requests for RESTful web applications

Plack::Middleware::REST routes HTTP requests (given in PSGI request format) on the principles of Representational State Transfer (REST). In short, the application manages a set of resources with common base URL, each identified by its URL. One can re...

VOJ/Plack-Middleware-REST-0.10 - 06 Apr 2015 07:13:30 GMT

Plack::Middleware::Pjax - PJAX for your Plack

Plack::Middleware::Pjax adds easy support for serving chromeless pages in combination with jquery-pjax. For more information on what pjax is, check the SEE ALSO links below. It does this by filtering the generated response through Marpa::R2::HTML. If...

MATTP/Plack-Middleware-Pjax-1.114400 - 10 Jan 2015 19:18:54 GMT

Plack::Middleware::JSON - 给输出内容转换成 JSON, 并且自动兼容 JSONP.

Plack::Middleware::JSON 这个是用于给 PSGI 应用输出结果转换成 JSON 结果, 注意就是 PSGI 的第三个参数 $_[2] 必须是一个数组引用或者哈希引用. POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 3: Non-ASCII character seen before =encoding in '这个是用于给'....

FUKAI/Plack-Middleware-JSON-0.01 - 17 Feb 2015 07:03:31 GMT

Plack::Middleware::Head - auto delete response body in HEAD requests

This middleware deletes response body in HEAD requests....

MIYAGAWA/Plack-1.0044 - 27 Apr 2017 17:48:20 GMT

Plack::Middleware::Delay - Put delays on your requests

This middleware imposes an artifical delay on requests, for purposes of testing. It could also be used to implement <http://xkcd.com/862/>....

RHOELZ/Plack-Middleware-Delay-0.01 - 13 Aug 2011 18:11:48 GMT

Plack::Middleware::OAuth - Plack middleware for OAuth1, OAuth2 and builtin provider configs.

This module is still in **BETA** , DO NOT USE THIS FOR PRODUCTION! Plack::Middleware::OAuth supports OAuth1 and OAuth2, and provides builtin config for providers like Twitter, GitHub, Google, Facebook. The only one thing you need to mount your OAuth ...

CORNELIUS/Plack-Middleware-OAuth-0.10 - 04 Dec 2011 07:46:28 GMT

Plack::Middleware::Debug - display information about the current request/response

The debug middleware offers a configurable set of panels that displays information about the current request and response. The information is generated only for responses with a status of 200 ("OK") and a "Content-Type" that contains "text/html" or "...

MIYAGAWA/Plack-Middleware-Debug-0.16 - 06 Sep 2013 18:42:16 GMT

Plack::Middleware::DNSBL - An IPv4 DNS Blacklist middleware for Plack

The Plack::Middleware::DNSBL middleware provides a simple yet customizable way of blocking ill-intentionated requests from reaching your main application by using an external blacklist....

VTFRVL/Plack-Middleware-DNSBL-0.0304 - 27 Sep 2015 04:32:00 GMT

Plack::Middleware::Mirror - Save responses to disk to mirror a site

NOTE: This module is in an alpha stage. Only the simplest case of static file request has been considered. Handling of anything with a QUERY_STRING is currently undefined. Suggestions, patches, and pull requests are welcome. This middleware will save...

RWSTAUNER/Plack-Middleware-Mirror-0.401 - 15 Jul 2011 00:05:20 GMT

465 results (0.029 seconds)