FCGI-Buffer
view release on metacpan or search on metacpan
Don't use the cache if the client sends max-age=0
Added cache_age option to init()
Removed Test::TempDir RT102225
Added t/cache.t
Fix '(in cleanup) Can't call method "READ" on an undefined value'
Perl >= 5.14.0 only
Improved handling of Wide characters
0.02 Sat Jan 31 11:16:28 EST 2015
Fix set_options
Fix handling when content-type isn't set
0.01 Thu Jan 29 15:42:06 EST 2015
First draft, clone from CGI::Buffer and object orient the code
lib/FCGI/Buffer.pm view on Meta::CPAN
return '';
}
sub _set_content_type
{
my $self = shift;
my $headers = shift;
foreach my $header (split(/\r?\n/, $headers)) {
my ($header_name, $header_value) = split /\:\s*/, $header, 2;
if(lc($header_name) eq 'content-type') {
my @content_type = split /\//, $header_value, 2;
$self->{content_type} = \@content_type;
return;
}
}
}
sub _compress()
{
my $self = shift;
( run in 1.109 second using v1.01-cache-2.11-cpan-524268b4103 )