Package : perl-Plack-Middleware-Negotiate > RPM : perl-Plack-Middleware-Negotiate-0.200.0-6.mga9.noarch.rpm
Basic items
InstallName | perl-Plack-Middleware-Negotiate |
Version | 0.200.0 |
Release | 6.mga9 |
URL | https://metacpan.org/release/Plack-Middleware-Negotiate |
Group | Development/Perl |
Summary | Apply HTTP content negotiation as Plack middleware |
Size | 41KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
Plack::Middleware::Negotiate applies HTTP content negotiation to a the PSGI
manpage request. The PSGI environment key 'negotiate.format' is set to the
chosen format name. In addition to normal content negotiation one may
enable explicit format selection with a path extension or query parameter.
The middleware takes care for rewriting and restoring PATH_INFO if it is
configured to detect and strip a format extension. The PSGI response is
enriched with corresponding HTTP headers Content-Type and Content-Language
unless these headers already exist.
If used as pure application, this middleware returns a HTTP status code 406
if no format could be negotiated.
manpage request. The PSGI environment key 'negotiate.format' is set to the
chosen format name. In addition to normal content negotiation one may
enable explicit format selection with a path extension or query parameter.
The middleware takes care for rewriting and restoring PATH_INFO if it is
configured to detect and strip a format extension. The PSGI response is
enriched with corresponding HTTP headers Content-Type and Content-Language
unless these headers already exist.
If used as pure application, this middleware returns a HTTP status code 406
if no format could be negotiated.
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | perl-Plack-Middleware-Negotiate-0.200.0-6.mga9.src.rpm |
Build time | 2022-03-20 12:32:20 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |