summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2010-01-08 22:05:17 +0530
committerMukund Sivaraman <muks@banu.com>2010-01-08 22:05:17 +0530
commit9c0c3d5ced559cb723247a54475fa59b403560b0 (patch)
tree716d3684a4662d463b3590bf090fb91a15f6a24a /docs
parentb96a3a32500a6680a83f0928158b1f310cd6b0ec (diff)
downloadtinyproxy-9c0c3d5ced559cb723247a54475fa59b403560b0.tar.gz
tinyproxy-9c0c3d5ced559cb723247a54475fa59b403560b0.zip
[BB#17] Add custom HTTP request headers to outgoing HTTP requests
Diffstat (limited to 'docs')
-rw-r--r--docs/man5/tinyproxy.conf.txt.in11
1 files changed, 11 insertions, 0 deletions
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