libcatalyst-plugin-smarturi-perl 0.036-1 source package in Ubuntu
Changelog
libcatalyst-plugin-smarturi-perl (0.036-1) unstable; urgency=low * Initial Release. (Closes: #635608) -- Ubuntu Archive Auto-Sync <email address hidden> Tue, 18 Oct 2011 00:07:48 +0000
Upload details
- Uploaded by:
- Ubuntu Archive Auto-Sync
- Uploaded to:
- Precise
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Precise | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libcatalyst-plugin-smarturi-perl_0.036.orig.tar.gz | 26.6 KiB | ccefba02c99281e5a28ea05b4d63c1a1ba0485ccd8d460558accd500f2451488 |
libcatalyst-plugin-smarturi-perl_0.036-1.debian.tar.gz | 1.8 KiB | e051feac4b9c05e84244b93f8af2e05b6eb856e19bef62e69b90076f845641ec |
libcatalyst-plugin-smarturi-perl_0.036-1.dsc | 2.3 KiB | 442273ccc819a5eda32d51aaa3b64eb310df7674d0eeef1b8cb47d80eb4b7e56 |
Binary packages built by this source
- libcatalyst-plugin-smarturi-perl: 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!).