summaryrefslogtreecommitdiff
path: root/etc
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 /etc
parentb96a3a32500a6680a83f0928158b1f310cd6b0ec (diff)
downloadtinyproxy-9c0c3d5ced559cb723247a54475fa59b403560b0.tar.gz
tinyproxy-9c0c3d5ced559cb723247a54475fa59b403560b0.zip
[BB#17] Add custom HTTP request headers to outgoing HTTP requests
Diffstat (limited to '')
-rw-r--r--etc/tinyproxy.conf.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/tinyproxy.conf.in b/etc/tinyproxy.conf.in
index 04bcd4a..08f10bf 100644
--- a/etc/tinyproxy.conf.in
+++ b/etc/tinyproxy.conf.in
@@ -210,6 +210,13 @@ MaxRequestsPerChild 0
Allow 127.0.0.1
#
+# AddHeader: Adds the specified headers 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: The "Via" header is required by the HTTP RFC, but using
# the real host name is a security concern. If the following directive
# is enabled, the string supplied will be used as the host name in the