🔧 chore: Add curlrc & wgetrc

This commit is contained in:
punkfairie 2024-02-17 20:47:22 -08:00
parent 9eda040593
commit e9ff40a846
2 changed files with 29 additions and 0 deletions

11
.curlrc Normal file
View file

@ -0,0 +1,11 @@
# limit the timeout in seconds
connect-timeout = 60
# follow HTTP redirects
location
# show error messages
show-error
# Disguise as IE 9 on Windows 7
user-agent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"

18
.wgetrc Normal file
View file

@ -0,0 +1,18 @@
# Use the server-provided last modification date, if available.
timestamping = on
# Wait 60 seconds before timing out.
timeout = 60
# Retry a few times when a download fails, but don't overdo it (the default is
# 20!).
tries = 3
# Retry even when the connection was refused.
retry_connrefused = on
# Use the last component of a redirection URL for the local file name.
trust_server_names = on
# Disguise as IE 9 on Windows 7
user_agent = Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)