Bug 30614 - check-url-quick gives false error 404
Summary: check-url-quick gives false error 404
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: 20.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-25 19:31 UTC by Marjorie Barry-Vila
Modified: 2022-04-25 19:31 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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