Ignore:
Timestamp:
Mar 22, 2026, 4:44:56 PM (3 hours ago)
Author:
iritscen
Message:

ValExtLinks: Added codes 204 and 402 to the 'OK' response code list. YouTube has apparently decided to start returning 204 on every valid link for some reason. 402 means 'the content is here but it will cost money to see it'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Validate External Links/validate_external_links.sh

    r1203 r1210  
    7777# are NG (no good). Pages that return OK codes will be screenshotted when screenshots are asked for.
    7878# Remember to update http_codes.txt if you add a new code.
    79 declare -a OK_CODES=(200 202 401 405 406 418 501)
     79declare -a OK_CODES=(200 202 204 401 402 405 406 418 501)
    8080declare -a RD_CODES=(301 302 303 307 308)
    8181declare -a NG_CODES=(000 400 403 404 410 429 500 502 503 504 520 530)
Note: See TracChangeset for help on using the changeset viewer.