Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Should the external links check perform HEAD requests? #1178
While I understand HEAD requests allow speeding up the checks, and the 405 HTTP response is handled, many web servers don't handle HEAD requests, and won't send a 405 either.
This basically makes the elinks check useless, as it can't be relied upon.
Steps to reproduce
This page does exist, and if users were to click the link, they wouldn't get a 404. The test should therefore not fail,
Because the server doesn't handle HEAD requests, and doesn't return 405, the test fails, when the page actually exists.
I'm absolutely fine opening a PR fixing this, either by entirely removing the HEAD request, or any other solution proposed.