# HTTP error status codes — urllib.request.urlopen() raises HTTPError for # 4xx/5xx responses, so simple.py reports these as FAIL even though the server # responded. The URLs below are real paths that reliably return 404 on stable # public servers. # # Note: a genuine 500 from a well-known server is hard to provoke on demand. # These 404s are sufficient to demonstrate that HTTP errors are treated as FAIL. # # Requires internet access. # # Run: python3.14 python/simple.py python/configs/http-errors.txt # Expected exit code: 1 # 404 from Google https://www.google.com/this-page-does-not-exist-at-all-1234567890 # 404 from GitHub https://github.com/this-repo-does-not-exist-abcxyz123/no-way # 404 from IANA https://www.iana.org/this-page-does-not-exist-either