# GNU Wget user config (~/.wgetrc)
# https://www.gnu.org/software/wget/manual/html_node/Wgetrc-Commands.html
#
# Do NOT template ~/.wget-hsts — that file is a runtime HSTS cache written by wget.
# Point hsts-file at an XDG cache path instead (directory created by setup).

# Recursion / polite defaults
robots = on
wait = 1
timeout = 60
tries = 3

# Continue partial downloads when possible
continue = on

# HSTS (cache lives under XDG, not $HOME clutter)
hsts = on
hsts-file = ~/.cache/wget/wget-hsts

# Prefer HTTPS when both are offered (where applicable)
https_only = off

# Progress
progress = bar

# Do not put passwords here — use ~/.netrc (0600) if needed.
