From 37de1902919ac27d4527edc4210f1f927ea376ef Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 25 Nov 2018 16:40:42 +0100 Subject: Allow setting Referer header for http method Not needed for common interactions, but for some download-file interactions it could be useful to set a specific referer as some servers do not serve requested files otherwise. --- doc/examples/configure-index | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 65590f17b..99aedfd19 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -270,6 +270,7 @@ Acquire No-Store "false"; // Prevent the cache from storing archives Dl-Limit ""; // Kb/sec maximum download rate User-Agent "Debian APT-HTTP/1.3"; + Referer ""; // Set the HTTP Referer [sic!] header to given value }; // HTTPS method configuration: uses the http -- cgit v1.2.3