https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30614

Aleisha Amohia <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #186381|0                           |1
        is obsolete|                            |

--- Comment #7 from Aleisha Amohia <[email protected]> ---
Created attachment 187030
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187030&action=edit
Bug 30614: 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.

This doesn't fix all of the errors produced by the sample error MARC attached -
any further support is welcomed.

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/

Reply via email to