summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-12-11 00:32:01 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-12-11 00:32:01 +0100
commit9f542bae2b3620887345ebc3e61970f8903123a0 (patch)
treef6bd11f0c9e3e32914c86d02592ab642961ec6ab /doc/examples
parentbb1293d975294884a95b9cb298432c9cf9ecc995 (diff)
add config setting for User-Agent in http and https to the Acquire group,
thanks Timothy J. Miller! (Closes: #355782)
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index f5f996460..333c8df7e 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -191,6 +191,7 @@ Acquire
Max-Age "86400"; // 1 Day age on index files
No-Store "false"; // Prevent the cache from storing archives
Dl-Limit "7"; // 7Kb/sec maximum download rate
+ User-Agent "Debian APT-HTTP/1.3";
};
// HTTPS method configuration:
@@ -204,6 +205,8 @@ Acquire
CaPath "/etc/ssl/certs";
Verify-Host" "true";
AllowRedirect "true";
+
+ User-Agent "Debian APT-CURL/1.0";
};
ftp