"mall-admin/vscode:/vscode.git/clone" did not exist on "c42d57cbe195cac8c813e5013a3e1af632f25a4c"
Commit 1b9ab364 authored by Dave Machado's avatar Dave Machado Committed by GitHub
Browse files

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.
parent 46121534
......@@ -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 }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment