все параметры
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

  • зависимости
  • рекомендации
  • предложения
  • enhances

Загрузка libcatalyst-plugin-smarturi-perl

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 10,6 Кб30,0 Кб [список файлов]