Reword comment.

Co-authored-by: Seeker <meaningseeking@protonmail.com>
This commit is contained in:
Markus Reiter 2020-09-05 20:26:18 +02:00 committed by GitHub
parent 803234d381
commit b2b37894f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ def curl_check_http_content(url, user_agents: [:default], check_content: false,
end
unless http_status_ok?(details[:status])
# The URL is protected by CloudFlare.
# Check if the URL is protected by CloudFlare.
if details[:status].to_i == 503 &&
details[:file].include?("set-cookie: __cfduid=") &&
details[:file].include?("server: cloudflare")