perlancar

NAME

Plack::Util::PeriAHS - Utility routines

VERSION

This document describes version 0.58 of Plack::Util::PeriAHS (from Perl distribution Perinci-Access-HTTP-Server), released on 2015-04-14.

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) 2015 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.