全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libcatalyst-plugin-smarturi-perl  ]

套件:libcatalyst-plugin-smarturi-perl(0.041-2)

libcatalyst-plugin-smarturi-perl 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 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!).

標籤: 軟體開發: Perl 開發, 函式庫, 實做語言: Perl

其他與 libcatalyst-plugin-smarturi-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libcatalyst-plugin-smarturi-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10。6 kB30。0 kB [檔案列表]