Apache2-PodBrowser

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.08	Thu Feb 24 16:36:32 CET 2011
	- fixing browser issue with monospace font sizes
	- fix :withtestmore in test files

0.07	Tue Jun 22 16:38:18 CEST 2010
	- skip tests that need BrowserMatch unless mod_setenvif is present
	- MMapDB cache for POD index page

0.06	Fri Jun 11 18:12:28 CEST 2010
	- remaining debug warning eliminated
	- compatibility with perl 5.12.1

0.05	Mon May  3 14:47:03 CEST 2010
	- more content tyles for included images; ct parameter

0.04	Tue Apr 20 16:36:57 CEST 2010

t/001.t  view on Meta::CPAN

is $resp->header('Content-Type'), 'image/jpeg', 'Content Type';

my $bodylen=length $resp->content;
is $bodylen, $resp->header('Content-Length'), 'resp body size';

$resp=GET("/perldoc/Apache2::PodBrowser/torsten-foertsch.jpg?ct=text/plain");
is length $resp->content, $bodylen, 'resp body size 2';
is $resp->header('Content-Type'), 'text/plain', 'Content Type 2';

SKIP: {
    skip "BrowserMatch needs mod_setenvif", 12
        unless have_module 'mod_setenvif.c';
    ##########################################
    # BrowserMatch
    ##########################################
    t_debug 'Testing BrowserMatch';

    Apache::TestRequest::user_agent(reset => 1,
                                    requests_redirectable => 0,
                                    agent => 'I am MSIE. Nice to meet you!');

    $expected=GET_BODY("/perldoc/fancy.css");

t/conf/extra.conf.in  view on Meta::CPAN

PerlModule Apache2::PodBrowser

<IfModule setenvif_module>
    BrowserMatch MSIE no-gzip
    BrowserMatch HUHU gzip-only-text/html
</IfModule>

<Directory @DocumentRoot@>
    Options +Indexes
    <Files ~ "\.p(od|m)">
        SetHandler modperl
        PerlResponseHandler Apache2::PodBrowser
        PerlSetVar STYLESHEET /fancy.css



( run in 0.407 second using v1.01-cache-2.11-cpan-3989ada0592 )