aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-06 14:45:43 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-06 14:45:43 -0700
commite250f495b248ec0bbe493e40c98a10414cfa1eef (patch)
tree465ab644705136d3e2ba1434191c4b95be4d836d /Documentation
parent5f3b21c1119abc7e19c988b399c7726d47bbb0d1 (diff)
parent8cb01e2fd3a50b6d0893dfb066183f16a3c7a355 (diff)
downloadgit-e250f495b248ec0bbe493e40c98a10414cfa1eef.tar.gz
git-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')
-rw-r--r--Documentation/config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 42d2b5047..c7bbe98eb 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