From e9ff40a846ae7dc4dfc258950b735a1a404288ec Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sat, 17 Feb 2024 20:47:22 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Add=20curlrc=20&=20wget?= =?UTF-8?q?rc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .curlrc | 11 +++++++++++ .wgetrc | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .curlrc create mode 100644 .wgetrc diff --git a/.curlrc b/.curlrc new file mode 100644 index 0000000..d83a650 --- /dev/null +++ b/.curlrc @@ -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)" diff --git a/.wgetrc b/.wgetrc new file mode 100644 index 0000000..0ba8ac2 --- /dev/null +++ b/.wgetrc @@ -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)