View on
MetaCPAN
perlancar > Perinci-Access-HTTP-Server > Plack::Util::PeriAHS

Download:
Perinci-Access-HTTP-Server-0.61.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.61   Source  

NAME ^

Plack::Util::PeriAHS - Utility routines

VERSION ^

This document describes version 0.61 of Plack::Util::PeriAHS (from Perl distribution Perinci-Access-HTTP-Server), released on 2017-07-10.

FUNCTIONS ^

errpage($env, $resp)

Render enveloped response $resp (as specified in Rinci::function) as an error page PSGI response, either in HTML/JSON/plaintext (according to $env->{"riap.request"}{fmt}). Will default to JSON if fmt is unsupported.

$env is PSGI environment.

HOMEPAGE ^

Please visit the project's homepage at https://metacpan.org/release/Perinci-Access-HTTP-Server.

SOURCE ^

Source repository is at https://github.com/perlancar/perl-Perinci-Access-HTTP-Server.

BUGS ^

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Access-HTTP-Server

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR ^

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2017, 2015, 2014, 2013, 2012, 2011 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: