Subject: | The head check in CPAN::Mini fails when there is no index.html or index.html is empty |
The problem is that CPAN::Mini attemps a request with head to check that
remote is alive. This fails when index.html is empty.
the following patch fixes the issue:
--- CPAN-Mini-Inject-0.18/t/html/index.html 1970-01-01
00:00:00.000000000 +0000
+++ CPAN-Mini-Inject-0.18.new/t/html/index.html 2007-07-18
12:41:06.000000000 +0000
@@ -0,0 +1 @@
+<h1>Index</h1>