Re: [PATCH v6 1/2] http: support sending custom HTTP headers

2016-05-05 Thread Jeff King
On Thu, May 05, 2016 at 09:10:21PM +0200, Lars Schneider wrote: > > + > > + > > + Require expr %{HTTP:x-magic-one} == 'abra' > > + Require expr %{HTTP:x-magic-two} == 'cadabra' > > + > > I think "" depends on mod_authz_core which is only > available in Apache HTTPD 2.3

Re: [PATCH v6 1/2] http: support sending custom HTTP headers

2016-05-05 Thread Junio C Hamano
Lars Schneider writes: [administrivia: next time please snip the 224 lines you are not responding to when commenting on only five lines]. >> + >> + >> +Require expr %{HTTP:x-magic-one} == 'abra' >> +Require expr %{HTTP:x-magic-two} ==

Re: [PATCH v6 1/2] http: support sending custom HTTP headers

2016-05-05 Thread Lars Schneider
On 04 May 2016, at 08:14, Johannes Schindelin wrote: > We introduce a way to send custom HTTP headers with all requests. > > This allows us, for example, to send an extra token from build agents > for temporary access to private repositories. (This is the use case

[PATCH v6 1/2] http: support sending custom HTTP headers

2016-05-04 Thread Johannes Schindelin
We introduce a way to send custom HTTP headers with all requests. This allows us, for example, to send an extra token from build agents for temporary access to private repositories. (This is the use case that triggered this patch.) This feature can be used like this: git -c