소스 검색

Allow HTTP 429 - Too Many Requests

Too Many requests is fine for testing link validity. The link is active, it's just been hit one too many times.
pull/387/head
Dave Machado 6 년 전
committed by GitHub
부모
커밋
1b9ab3649b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      build/validate_links.rb

+ 1
- 1
build/validate_links.rb 파일 보기

@@ -2,7 +2,7 @@
require 'httparty'
require 'ruby-progressbar'
require 'uri'
allowed_codes = [200, 302, 403]
allowed_codes = [200, 302, 403, 429]
args = ARGV
filename = args[0]
contents = File.open(filename, 'rb') { |f| f.read }


불러오는 중...
취소
저장