From 9c0c3d5ced559cb723247a54475fa59b403560b0 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 8 Jan 2010 22:05:17 +0530 Subject: [BB#17] Add custom HTTP request headers to outgoing HTTP requests --- docs/man5/tinyproxy.conf.txt.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs') diff --git a/docs/man5/tinyproxy.conf.txt.in b/docs/man5/tinyproxy.conf.txt.in index 4ce494b..2364944 100644 --- a/docs/man5/tinyproxy.conf.txt.in +++ b/docs/man5/tinyproxy.conf.txt.in @@ -219,6 +219,17 @@ The possible keywords and their descriptions are as follows: like `host.example.com` or a domain name like `.example.com` or even a top level domain name like `.com`. +*AddHeader*:: + + Configure one or more HTTP request headers to be added to outgoing + HTTP requests that Tinyproxy makes. Note that this option will not + work for HTTPS traffic, as Tinyproxy has no control over what + headers are exchanged. + + +---- +AddHeader "X-My-Header" "Powered by Tinyproxy" +---- + *ViaProxyName*:: RFC 2616 requires proxies to add a `Via` header to the HTTP -- cgit v1.2.3