PGXN-Site
view release on metacpan or search on metacpan
lib/PGXN/Site/Locale/en/mirroring.html view on Meta::CPAN
<h1 id="mirroringpgxn">Mirroring PGXN</h1>
<p>Hosting a PGXN mirror is simple. All you need is:</p>
<ul>
<li>A reasonably fast internet connection</li>
<li>Space for storage</li>
<li>An <a href="https://rsync.samba.org">rsync</a> client</li>
<li>A web server</li>
</ul>
'The body should look correct';
}
};
# Test /mirroring.
test_psgi $app => sub {
my $cb = shift;
for my $uri ('/mirroring', '/mirroring/') {
ok my $res = $cb->(GET $uri), "Fetch $uri";
is $res->code, 200, 'Should get 200 response';
like $res->content, qr{\Q<h1 id="mirroringpgxn">Mirroring PGXN</h1>},
'The body should look correct';
}
};
# Test /meta/spec.txt.
test_psgi $app => sub {
my $cb = shift;
my $uri = '/meta/spec.txt';
ok my $res = $cb->(GET $uri), "Fetch $uri";
is $res->code, 200, 'Should get 200 response';
( run in 1.580 second using v1.01-cache-2.11-cpan-df04353d9ac )