aboutsummaryrefslogtreecommitdiffstats
path: root/.wgetrc
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-03-19 15:39:28 +0100
committerMathias Bynens <mathias@qiwi.be>2012-03-19 15:39:28 +0100
commit3264afdc34f8d2ff42cbf0b973fe9f0a5d70ab2d (patch)
tree34bb38c39257cc692c8cdf62d27c2f83cda05bfd /.wgetrc
parente29deab2aad4b63c40c995253e5dc67c5d5f16f9 (diff)
downloaddotfiles-3264afdc34f8d2ff42cbf0b973fe9f0a5d70ab2d.tar.gz
dotfiles-3264afdc34f8d2ff42cbf0b973fe9f0a5d70ab2d.tar.bz2
dotfiles-3264afdc34f8d2ff42cbf0b973fe9f0a5d70ab2d.zip
.wgetrc: Initial commit
Disclaimer: most of these settings have been stolen from @janmoesen’s extremely well-commented .wgetrc.
Diffstat (limited to '.wgetrc')
-rw-r--r--.wgetrc38
1 files changed, 38 insertions, 0 deletions
diff --git a/.wgetrc b/.wgetrc
new file mode 100644
index 0000000..a1e2a98
--- /dev/null
+++ b/.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
+
+# Enable internationalized URI (IRI) support
+iri = on
+
+# Use UTF-8 as the default system encoding
+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) \ No newline at end of file