]> git.saurik.com Git - apt.git/blobdiff - doc/examples/configure-index
add config setting for User-Agent in http and https to the Acquire group,
[apt.git] / doc / examples / configure-index
index 27118fb7e85f8e7c34534b7c4a75a57d51072a08..16e864d89ae6346580cd33df5d875e2ff9b7fef7 100644 (file)
@@ -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