diff --git a/ChangeLog b/ChangeLog index 419b396e..bdba3795 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,12 @@ * added an example cron script Added: linkcheck-cron.sh Changed: MANIFEST.in, setup.py + * only warn about missing anchor support servers when the url has + actually an anchor + Changed: linkcheck/HttpUrlData.py + * always fall back to HTTP GET request when HEAD gave an error to + cope with servers not supporting HEAD + Changed: linkcheck/HttpUrlData.py 1.10.3 (release 10.1.2004) * use the optparser module for command line parsing diff --git a/TODO b/TODO index 7b35b39b..d892b48b 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,3 @@ -- after a failed HEAD request, try always GET and see if that fails - too - - replace the debug() function with the logging module we'll see how we can insert multiple debug levels into this thing diff --git a/po/de.po b/po/de.po index 20a6ef33..da129741 100644 --- a/po/de.po +++ b/po/de.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: $Id$\n" -"POT-Creation-Date: Thu Jan 29 20:05:48 2004\n" +"POT-Creation-Date: Thu Jan 29 22:20:33 2004\n" "PO-Revision-Date: 2004-01-10 12:12+0100\n" "Last-Translator: Bastian Kleineidam \n" "Language-Team: de \n" @@ -48,6 +48,19 @@ msgstr "Amazon server blockieren HTTP HEAD Anfragen, verwende stattdessen GET" msgid "Enforced Proxy %r" msgstr "Erzwungener Proxy %r" +#, fuzzy +msgid "more than %d redirections, aborting" +msgstr "mehr als fünf Weiterleitungen, breche ab" + +msgid "Server %r has no anchor support, removing anchor from request" +msgstr "Server %r ohne Anker Unterstützung, lösche Anker von der Anfrage" + +msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" +msgstr "Server unterstützt kein HEAD, verwende GET" + +msgid "Effective URL %s" +msgstr "Effektive URL %s" + msgid "" "recursive redirection encountered:\n" " %s" @@ -71,25 +84,13 @@ msgstr "" msgid "HTTP redirection to non-http url encountered; the original url was %r." msgstr "HTTP Weiterleitung zu einer nicht-HTTP url; die Original-Url war %r." -msgid "more than five redirections, aborting" -msgstr "mehr als fünf Weiterleitungen, breche ab" +msgid "unknown" +msgstr "" -msgid "" -"Server does not support HEAD request (got %d status), falling back to GET" +#, fuzzy +msgid "Server %r did not support HEAD request, used GET for checking" msgstr "Server unterstützt keine HEAD Anfrage (bekam Status %d), verwende GET" -msgid "Server %r has no HEAD support, falling back to GET" -msgstr "Server %r ohne HEAD Unterstützung, verwende GET" - -msgid "Server %r has no anchor support, removing anchor from request" -msgstr "Server %r ohne Anker Unterstützung, lösche Anker von der Anfrage" - -msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" -msgstr "Server unterstützt kein HEAD, verwende GET" - -msgid "Effective URL %s" -msgstr "Effektive URL %s" - msgid "Last modified %s" msgstr "Letzte Änderung %s" @@ -725,3 +726,6 @@ msgstr "keine Dateien oder URLs angegeben" msgid "Hit RETURN to finish" msgstr "Drücken Sie RETURN zum Beenden" + +#~ msgid "Server %r has no HEAD support, falling back to GET" +#~ msgstr "Server %r ohne HEAD Unterstützung, verwende GET" diff --git a/po/fr.po b/po/fr.po index 87409c20..7d3a3af0 100644 --- a/po/fr.po +++ b/po/fr.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: $Id$\n" -"POT-Creation-Date: Thu Jan 29 20:05:48 2004\n" +"POT-Creation-Date: Thu Jan 29 22:20:33 2004\n" "PO-Revision-Date: 2004-01-03 23:24+0100\n" "Last-Translator: Bastian Kleineidam \n" "Language-Team: fr \n" @@ -48,6 +48,18 @@ msgstr "" msgid "Enforced Proxy %r" msgstr "" +msgid "more than %d redirections, aborting" +msgstr "" + +msgid "Server %r has no anchor support, removing anchor from request" +msgstr "" + +msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" +msgstr "" + +msgid "Effective URL %s" +msgstr "URL effective %s" + msgid "" "recursive redirection encountered:\n" " %s" @@ -65,25 +77,12 @@ msgstr "" msgid "HTTP redirection to non-http url encountered; the original url was %r." msgstr "" -msgid "more than five redirections, aborting" +msgid "unknown" msgstr "" -msgid "" -"Server does not support HEAD request (got %d status), falling back to GET" +msgid "Server %r did not support HEAD request, used GET for checking" msgstr "" -msgid "Server %r has no HEAD support, falling back to GET" -msgstr "" - -msgid "Server %r has no anchor support, removing anchor from request" -msgstr "" - -msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" -msgstr "" - -msgid "Effective URL %s" -msgstr "URL effective %s" - msgid "Last modified %s" msgstr "" diff --git a/po/linkcheck.pot b/po/linkcheck.pot index d9c9aba7..8296164a 100644 --- a/po/linkcheck.pot +++ b/po/linkcheck.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: Thu Jan 29 20:05:48 2004\n" +"POT-Creation-Date: Thu Jan 29 22:20:33 2004\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -52,6 +52,18 @@ msgstr "" msgid "Enforced Proxy %r" msgstr "" +msgid "more than %d redirections, aborting" +msgstr "" + +msgid "Server %r has no anchor support, removing anchor from request" +msgstr "" + +msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" +msgstr "" + +msgid "Effective URL %s" +msgstr "" + msgid "" "recursive redirection encountered:\n" " %s" @@ -66,22 +78,10 @@ msgstr "" msgid "HTTP redirection to non-http url encountered; the original url was %r." msgstr "" -msgid "more than five redirections, aborting" +msgid "unknown" msgstr "" -msgid "Server does not support HEAD request (got %d status), falling back to GET" -msgstr "" - -msgid "Server %r has no HEAD support, falling back to GET" -msgstr "" - -msgid "Server %r has no anchor support, removing anchor from request" -msgstr "" - -msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" -msgstr "" - -msgid "Effective URL %s" +msgid "Server %r did not support HEAD request, used GET for checking" msgstr "" msgid "Last modified %s" diff --git a/po/nl.po b/po/nl.po index 45314b83..104e65bb 100644 --- a/po/nl.po +++ b/po/nl.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: $Id$\n" -"POT-Creation-Date: Thu Jan 29 20:05:48 2004\n" +"POT-Creation-Date: Thu Jan 29 22:20:33 2004\n" "PO-Revision-Date: 2004-01-03 23:27+0100\n" "Last-Translator: Bastian Kleineidam \n" "Language-Team: nl \n" @@ -48,6 +48,18 @@ msgstr "" msgid "Enforced Proxy %r" msgstr "" +msgid "more than %d redirections, aborting" +msgstr "" + +msgid "Server %r has no anchor support, removing anchor from request" +msgstr "" + +msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" +msgstr "Zope Server understeunt geen HEAD verzoek, probeer GET" + +msgid "Effective URL %s" +msgstr "Effektieve URL %s" + msgid "" "recursive redirection encountered:\n" " %s" @@ -66,25 +78,13 @@ msgstr "" msgid "HTTP redirection to non-http url encountered; the original url was %r." msgstr "" -msgid "more than five redirections, aborting" +msgid "unknown" msgstr "" -msgid "" -"Server does not support HEAD request (got %d status), falling back to GET" +#, fuzzy +msgid "Server %r did not support HEAD request, used GET for checking" msgstr "Server understeunt geen HEAD verzoek (kreeg status %d), probeer GET" -msgid "Server %r has no HEAD support, falling back to GET" -msgstr "Server %r zonder HEAD ondersteuning, probeer GET" - -msgid "Server %r has no anchor support, removing anchor from request" -msgstr "" - -msgid "Zope Server cannot determine MIME type with HEAD, falling back to GET" -msgstr "Zope Server understeunt geen HEAD verzoek, probeer GET" - -msgid "Effective URL %s" -msgstr "Effektieve URL %s" - msgid "Last modified %s" msgstr "" @@ -637,3 +637,6 @@ msgstr "geen bestanden of URLs gegeven" msgid "Hit RETURN to finish" msgstr "Toets RETURN om te beëindigen" + +#~ msgid "Server %r has no HEAD support, falling back to GET" +#~ msgstr "Server %r zonder HEAD ondersteuning, probeer GET"