in reply to Test::HTTPStatus problem

Sometimes links have transient problems. Try them again after it works manually and the problem may have gone away.

If not then my best guess is that sometimes webservers do different things depending on the user agent. In particular they block anything that looks like a robot, which you would.