File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 77
88set -x
99
10- user_agent=" Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
11- accept_hdr=" text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
12- url=" https://wiki.mozilla.org/Abstract_Interpretation"
10+ ua=' Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36'
11+ url=' https://wiki.mozilla.org/Abstract_Interpretation'
1312
14- curl -sS -o /dev/null -w ' %{http_code}\n' -I " $url "
13+ curl -s -o /dev/null -w ' %{http_code}\n' --http1.1 -I " $url "
1514
16- curl -sS -o /dev/null -w ' %{http_code}\n' -I - A " $user_agent " " $url "
15+ curl -s -o /dev/null -w ' %{http_code}\n' --http1.1 --range 0-0 - A " $ua " " $url "
1716
18- curl -sS -o /dev/null -w ' %{http_code}\n' --range 0-0 " $url "
17+ curl -s -o /dev/null -w ' %{http_code}\n' --http1.1 -- range 0-0 -A " $ua " --compressed " $url "
1918
20- curl -sS -o /dev/null -w ' %{http_code}\n' --range 0-0 -A " $user_agent " " $url "
19+ curl -s -o /dev/null -w ' %{http_code}\n' --http1.1 --range 0-0 -A " $ua " \
20+ -H ' Accept-Language: en-US,en;q=0.9' \
21+ " $url "
2122
22- curl -sS -o /dev/null -w ' %{http_code}\n' \
23- --range 0-0 \
24- -A " $user_agent " \
25- -H " Accept: $accept_hdr " \
23+ curl -s -o /dev/null -w ' %{http_code}\n' --http1.1 --range 0-0 -A " $ua " \
24+ -H ' Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \
25+ -H ' Referer: https://wiki.mozilla.org/' \
2626 " $url "
2727
2828set -euo pipefail
You can’t perform that action at this time.
0 commit comments