summaryrefslogtreecommitdiff
path: root/vendor/ubuntu/apt.conf-01-vendor-ubuntu
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-03-25 17:31:12 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-04-09 10:39:34 +0200
commit29a79857c3cb53a94007bb7887234d2fe27850b2 (patch)
tree67ac753d391c7277068f177d45fc109cf932734d /vendor/ubuntu/apt.conf-01-vendor-ubuntu
parentd3133f92205e06f1f04e39c7e74db9efb98df19f (diff)
ubuntu: http: Add non-interactive to user agent if run by systemd
Include that apt is being run from a service in the user agent, so traffic can be analysed for interactive vs non-interactive use, and prioritised accordingly. It looks like this now: User-Agent: Debian APT-HTTP/1.3 (2.0.1) non-interactive A previous version included the full service names, but this raised some privacy concerns. LP: #1825000
Diffstat (limited to 'vendor/ubuntu/apt.conf-01-vendor-ubuntu')
-rw-r--r--vendor/ubuntu/apt.conf-01-vendor-ubuntu1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/ubuntu/apt.conf-01-vendor-ubuntu b/vendor/ubuntu/apt.conf-01-vendor-ubuntu
index 44e684710..30d25a717 100644
--- a/vendor/ubuntu/apt.conf-01-vendor-ubuntu
+++ b/vendor/ubuntu/apt.conf-01-vendor-ubuntu
@@ -1 +1,2 @@
Acquire::Changelogs::AlwaysOnline "true";
+Acquire::http::User-Agent-Non-Interactive "true";