Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4823 from snir911/fix_url_check
Browse files Browse the repository at this point in the history
static-checks: accept other http content encoding on url checks
  • Loading branch information
snir911 authored Jun 1, 2022
2 parents 0a87021 + 2bdd07a commit 2cdcec9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/static-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ check_url()

local ret

{ curl -sIL --max-time "$url_check_timeout_secs" --retry "$url_check_max_tries" "$url" &>"$curl_out"; ret=$?; } || true
{ curl -sIL -H "Accept-Encoding: zstd, br, gzip, deflate" --max-time "$url_check_timeout_secs" \
--retry "$url_check_max_tries" "$url" &>"$curl_out"; ret=$?; } || true

# A transitory error, or the URL is incorrect,
# but capture either way.
Expand Down

0 comments on commit 2cdcec9

Please sign in to comment.