From: Junio C Hamano Date: Tue, 26 Apr 2016 19:05:03 GMT Subject: Re: [PATCH v2] http: support sending custom HTTP headers Message-ID: In-Reply-To: <921e007f445476b27325c12a9e92fdd169a073b7.1461685158.git.johannes.schindelin@gmx.de> Johannes Schindelin writes: > diff --git a/Documentation/config.txt b/Documentation/config.txt > index 42d2b50..37b9af7 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. > + This feature is useful e.g. to increase security, or to allow > + time-limited access based on expiring tokens. I am unsure about the last two lines. Is it necessary to have them?