summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-05-06 14:45:43 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-06 14:45:43 -0700
commite250f495b248ec0bbe493e40c98a10414cfa1eef (patch)
tree465ab644705136d3e2ba1434191c4b95be4d836d /Documentation/config.txt
parentMerge branch 'sb/clone-shallow-passthru' (diff)
parenthttp: support sending custom HTTP headers (diff)
downloadtgif-e250f495b248ec0bbe493e40c98a10414cfa1eef.tar.xz
Merge branch 'js/http-custom-headers'
HTTP transport clients learned to throw extra HTTP headers at the server, specified via http.extraHeader configuration variable. * js/http-custom-headers: http: support sending custom HTTP headers
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 42d2b50477..c7bbe98eba 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1655,6 +1655,12 @@ http.emptyAuth::
a username in the URL, as libcurl normally requires a username for
authentication.
+http.extraHeader::
+ Pass an additional HTTP header when communicating with a server. If
+ more than one such entry exists, all of them are added as extra
+ headers. To allow overriding the settings inherited from the system
+ config, an empty value will reset the extra headers to the empty list.
+
http.cookieFile::
File containing previously stored cookie lines which should be used
in the Git http session, if they match the server. The file format