Plack::Middleware - Base class for easy-to-use PSGI middleware River stage four • 732 direct dependents • 2024 total dependents

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.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Lint - Validate request and response River stage four • 732 direct dependents • 2024 total dependents

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.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Head - auto delete response body in HEAD requests River stage four • 732 direct dependents • 2024 total dependents

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

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::JSONP - Wraps JSON response in JSONP if callback parameter is specified River stage four • 732 direct dependents • 2024 total dependents

Plack::Middleware::JSONP wraps JSON response, which has Content-Type value either "text/javascript" or "application/json" as a JSONP response which is specified with the "callback" query parameter. The name of the parameter can be set while enabling ...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Static - serve static files with Plack River stage four • 732 direct dependents • 2024 total dependents

This middleware allows your Plack-based application to serve static files. Note that if you are building an app using Plack::App::URLMap, you should consider using Plack::App::File to serve static files instead. This makes the overall routing of your...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Runtime - Sets an X-Runtime response header River stage four • 732 direct dependents • 2024 total dependents

Plack::Middleware::Runtime is a Plack middleware component that sets the application's response time (in seconds) in the *X-Runtime* HTTP response header....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Refresh - Refresh all modules in %INC River stage four • 732 direct dependents • 2024 total dependents

This is *yet another* approach to refresh modules in %INC during the development cycle, without the need to have a forking process to watch for filesystem updates. This middleware, in a request time, compares the last refresh time and the current tim...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Chunked - Applies chunked encoding to the response body River stage four • 732 direct dependents • 2024 total dependents

Plack::Middleware::Chunked is a middleware, or rather a library for PSGI server to automatically add chunked encoding to the response body when Content-Length is not set in the response header....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Log4perl - Uses Log::Log4perl to configure logger River stage four • 732 direct dependents • 2024 total dependents

Log4perl is a Plack::Middleware component that allows you to use Log::Log4perl to configure the logging object "psgix.logger" for a given category....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::AccessLog - Logs requests like Apache's log format River stage four • 732 direct dependents • 2024 total dependents

Plack::Middleware::AccessLog forwards the request to the given app and logs request and response details to the logger callback. The format can be specified using Apache-like format strings (or "combined" or "common" for the default formats). If none...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Recursive - Allows PSGI apps to include or forward requests recursively River stage four • 732 direct dependents • 2024 total dependents

Plack::Middleware::Recursive allows PSGI applications to recursively include or forward requests to other paths. Applications can make use of callbacks stored in "$env->{'plack.recursive.include'}" to *include* another path to get the response (wheth...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::XSendfile - Sets X-Sendfile (or a like) header for frontends River stage four • 732 direct dependents • 2024 total dependents

When the body is a blessed reference with a "path" method, then the return value of that method is used to set the X-Sendfile header. The body is set to an empty list, and the Content-Length header is set to 0. If the X-Sendfile header is already set...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::StackTrace - Displays stack trace when your app dies River stage four • 732 direct dependents • 2024 total dependents

This middleware uses $SIG{__DIE__} to intercept *all* exceptions (run-time errors) happening in your application, even those that are caught. For each exception it builds a detailed stack trace. If the applications aborts by throwing an exception it ...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::ContentMD5 - Automatically sets the Content-MD5 header on all String bodies River stage four • 732 direct dependents • 2024 total dependents

Automatically sets the Content-MD5 header on all String bodies...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::XFramework - Sample middleware to add X-Framework River stage four • 732 direct dependents • 2024 total dependents

This middleware adds "X-Framework" header to the HTTP response....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::NullLogger - Send logs to /dev/null River stage four • 732 direct dependents • 2024 total dependents

NullLogger is a middleware component that receives logs and does nothing but discarding them. Might be useful to shut up all the logs from frameworks in one shot....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::LogDispatch - Uses Log::Dispatch to configure logger River stage four • 732 direct dependents • 2024 total dependents

LogDispatch is a Plack::Middleware component that allows you to use Log::Dispatch to configure the logging object, "psgix.logger"....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Conditional - Conditional wrapper for Plack middleware River stage four • 732 direct dependents • 2024 total dependents

Plack::Middleware::Conditional is a piece of meta-middleware, to run a specific middleware component under runtime conditions. The goal of this middleware is to avoid baking runtime configuration options in individual middleware components, and rathe...

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::Auth::Basic - Simple basic authentication middleware River stage four • 732 direct dependents • 2024 total dependents

Plack::Middleware::Auth::Basic is a basic authentication handler for Plack....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

Plack::Middleware::SimpleLogger - Simple logger that prints to psgi.errors River stage four • 732 direct dependents • 2024 total dependents

SimpleLogger is a middleware component that formats the log message with information such as the time and PID and prints them to *psgi.errors* stream, which is mostly STDERR or server log output....

MIYAGAWA/Plack-1.0047 - 10 Feb 2018 09:25:30 GMT

42 results (0.075 seconds)