Revision history for Perl extension CGI::Header::PSGI.
0.03 Mar 4th, 2013
- CGI::Header::PSGI requires CGI::Header 0.30 or higher
0.02 Feb 27th, 2013
- Fix t/11_psgi_redirect.t (thanks to CPAN testers)
- Tests require CGI-PSGI 0.15
- CGI::Header::PSGI requires Perl 5.8.9 or higher
0.01 Feb 26th, 2013
Initial release of CGI-Header-PSGI as a separate distribution.
The CGI::Header::PSGI module used to be bundled with the
CGI-Header distribution.
[INCOMPATIBLE CHANGES]
Requires Role::Tiny. A role CGI::Header::PSGI requires
the following methods:
- charset
- cache
- no_cache (optional)
- self_url
- crlf
charset(), cache() and self_url() are provided by both of
CGI.pm and CGI::Simple. crlf() is provided by CGI::Simple.
If your query class inherits from CGI.pm, you have to implement
your crlf() method by yourself.
Using CGI.pm:
use parent 'CGI';
use Role::Tiny::With;
with 'CGI::Header::PSGI';
sub crlf { $CGI::CRLF }
Using CGI::Simple:
use parent 'CGI::Simple';
use Role::Tiny::With;
with 'CGI::Header::PSGI';