https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30614
--- Comment #13 from Nick Clemens (kidclamp) <[email protected]> --- Created attachment 188300 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188300&action=edit Bug 30614: [alternate] Fallback to a GET request if HEAD returns error status This enhancement makes a GET request as a fallback if HEAD returns an error status using the existing AnyEvent module to maintain async checking of URLs. This doesn't fix all of the errors produced by the sample error MARC attached - any further support is welcomed. This patch adds a --where option to limit the biblios checked, and an extra level of verbosity to see the full response To test: 1. Download MARC. Go to Cataloguing in the staff interface and stage the MARC file for import, then import. 2. Run the URL check job and confirm erroring URLs perl misc/cronjobs/check-url-quick.pl -v > test.txt grep -E "tand|wiley|natlib|cold|canterbury" test.txt 3. Apply patch and restart services 4. Repeat step 2 and notice 2 of the URLs are now returning 200 OK status codes. Sponsored-by: Earth Sciences New Zealand -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
