Bug 30614

Summary: check-url-quick gives false error 404
Product: Koha Reporter: Marjorie Barry-Vila <marjorie.barry-vila>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 20.05   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marjorie Barry-Vila 2022-04-25 19:31:18 UTC
Hi,

Many 404 errors come out after running the check-quick-url script while the urls are correct when checked manually. 
Apparently this is because the script uses HTTP HEAD instead of HTTP GET.
HTTP HEAD returns only the headers of the urls and the header can return an error but the url is accessible when you do a GET.

Is there a reason for this?

My fellow analyst was pointing to line 104 of https://github.com/Koha-Community/Koha/blob/master/misc/cronjobs/check-url-quick.pl

Thank you
Marjorie