软件包: libcatalyst-plugin-smarturi-perl (0.041-1)
libcatalyst-plugin-smarturi-perl 的相关链接
Trisquel 的资源:
下载源码包 libcatalyst-plugin-smarturi-perl:
- [libcatalyst-plugin-smarturi-perl_0.041-1.dsc]
- [libcatalyst-plugin-smarturi-perl_0.041.orig.tar.gz]
- [libcatalyst-plugin-smarturi-perl_0.041-1.debian.tar.xz]
维护者:
Original Maintainers:
- Debian Perl Group (Mail Archive)
- Julien Vaubourg
外部的资源:
- 主页 [metacpan.org]
相似软件包:
module providing configurable URIs for Catalyst
Configure whether $c->uri_for and $c->req->uri_with return absolute, hostless or relative URIs, or URIs based on the 'Host' header. Also allows configuring which URI class to use. Works on application-wide or per-request basis.
Catalyst::Plugin::SmartURI is useful in situations where you're for example, redirecting to a lighttpd from a firewall rule, instead of a real proxy, and you want your links and redirects to still work correctly.
To use your own URI class, just subclass URI::SmartURI and set uri_class, or write a class that follows the same interface.
This plugin installs a custom $c->request_class, however it does so in a way that won't break if you've already set $c->request_class yourself, ie. by using Catalyst::Action::REST (thanks mst!).
其他与 libcatalyst-plugin-smarturi-perl 有关的软件包
|
|
|
-
- dep: libcatalyst-perl
- elegant Model-View-Controller Web Application Framework
-
- dep: libclass-c3-componentised-perl
- module to load mix-ins or components to C3-based classes
-
- dep: libclass-load-perl
- module for loading modules by name
-
- dep: libmoose-perl
- modern Perl object system framework
-
- dep: libnamespace-clean-perl
- module for keeping imports and functions out of the current namespace
-
- dep: libtask-weaken-perl
- module for ensuring that a platform has weaken support
-
- dep: liburi-smarturi-perl
- subclass of URI which add an hostless object
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language