aboutsummaryrefslogtreecommitdiff
path: root/shellenv/.wgetrc
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2024-07-28 23:05:45 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2024-07-28 23:05:45 -0400
commit8c4a6f932b129df4f9a63b7b2e2bcaea6f215866 (patch)
treed51cea169cae19b05025a0b26670a9a09505e8fe /shellenv/.wgetrc
Took snapshot of my main dotfiles
Diffstat (limited to 'shellenv/.wgetrc')
-rw-r--r--shellenv/.wgetrc38
1 files changed, 38 insertions, 0 deletions
diff --git a/shellenv/.wgetrc b/shellenv/.wgetrc
new file mode 100644
index 0000000..eb531a1
--- /dev/null
+++ b/shellenv/.wgetrc
@@ -0,0 +1,38 @@
+# Use the server-provided last modification date, if available
+timestamping = on
+
+# Do not go up in the directory structure when downloading recursively
+no_parent = on
+
+# Wait 60 seconds before timing out. This applies to all timeouts: DNS, connect and read. (The default read timeout is 15 minutes!)
+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
+
+# Follow FTP links from HTML documents by default
+follow_ftp = on
+
+# Add a `.html` extension to `text/html` or `application/xhtml+xml` files that lack one, or a `.css` extension to `text/css` files that lack one
+adjust_extension = on
+
+# Use UTF-8 as the default system encoding
+# Disabled as it makes `wget` builds that don’t support this feature unusable.
+# Does anyone know how to conditionally configure a wget setting?
+# http://unix.stackexchange.com/q/34730/6040
+#local_encoding = UTF-8
+
+# Ignore `robots.txt` and `<meta name=robots content=nofollow>`
+robots = off
+
+# Print the HTTP and FTP server responses
+server_response = on
+
+# Disguise as IE 9 on Windows 7
+user_agent = Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)