Go To English Version 超过100万源码资源,1000万源码文件免费下载
  • Dancer-Middleware-Rebase ... SYNOPSIS ======== In your config.yml configuration file for Dancer: plack_middlewares: - - "+Dancer::Middleware::Rebase" - base - "http://example.com/app" - strip - 1 Now all the requests ...
  • Plack-Middleware-Rewrite use 5.006; use strict; use warnings; package Plack::Middleware::Rewrite; # ABSTRACT: mod_rewrite for Plack use parent 'Plack:: ... (?!\s*;\s*q=0)}; }; $app; }; =head1 DESCRIPTION This middleware provides a convenient way to modify requests in ...
  • Plack-Middleware-Precompressed ... ', match => qr!\.js\z!; $handler; }; =head1 DESCRIPTION Plack::Middleware::Precompressed is an alternative (or rather, complement) to ... ' }; This somewhat peculiar interface is necessary so the middleware can abstract away the details of trying to ...
  • Plack-Middleware-NeverExpire ... _[0]{'PATH_INFO'} =~ m!^/static/! } 'NeverExpire'; $app; }; =head1 DESCRIPTION This middleware adds headers to a response that allow proxies and ... . But when you need it, LMiddleware::Expires> will give you the precise control over ...
  • soap4r-middleware ... in Rails 3 as well. Install ------- $ gem install soap4r-middleware Usage ----- First, get yourself some Soap4r endpoint code. ... initialization code into a new class that subclasses `Soap4r::Middleware::Base`, and replace the initialize method with a ...
  • sinatra-middleware ... Development =========================== `$ git clone git://github.com/AndrewGertig/sinatra-middleware.git myapp_dir` `$ mate myapp_dir/.rvmrc` Change this line: rvm use 1.9.2-p290@sinatra-middleware --create To: rvm use 1.9.2-p290@myapp_dir ...
  • plack-middleware-cache-pm ... => [ '^/foo/', '\\?.*xxx=.*', ], cache_dir => '/tmp/plack-cache'; $app; }; =head1 DESCRIPTION This middleware allows you to cache expensive and non-changing responses from URIs that ...
  • Plack-Middleware-Cache-CHI ... Middleware::Cache - Caching Reverse Proxy for Plack # NAME Plack::Middleware::Cache::CHI - Caching Reverse Proxy for Plack # VERSION ... more information. This module was earlier called Plack::Middleware::Cache and available only thru github because of ...
  • Plack-Middleware-Image-Scale ... and png images on the fly # NAME Plack::Middleware::Image::Scale - Resize jpeg and png images on ... # SYNOPSIS ## example1.psgi use Plack::Builder; use Plack::Middleware::Image::Scale; my $app = sub { return [200,[],[]] }; builder { ...
  • plack-middleware-options ... for this module with the perldoc command. perldoc Plack::Middleware::Options You can also look for information at: ... CPAN Ratings http://cpanratings.perl.org/d/Plack-Middleware-Options Search CPAN http://search.cpan.org/dist/ ...