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
This commit is contained in:
@ -102,6 +102,14 @@ Alias /auth/dumb/ www/auth/dumb/
|
||||
SetEnv GIT_HTTP_EXPORT_ALL
|
||||
Header set Set-Cookie name=value
|
||||
</LocationMatch>
|
||||
<LocationMatch /smart_headers/>
|
||||
<RequireAll>
|
||||
Require expr %{HTTP:x-magic-one} == 'abra'
|
||||
Require expr %{HTTP:x-magic-two} == 'cadabra'
|
||||
</RequireAll>
|
||||
SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
|
||||
SetEnv GIT_HTTP_EXPORT_ALL
|
||||
</LocationMatch>
|
||||
ScriptAliasMatch /smart_*[^/]*/(.*) ${GIT_EXEC_PATH}/git-http-backend/$1
|
||||
ScriptAlias /broken_smart/ broken-smart-http.sh/
|
||||
ScriptAlias /error/ error.sh/
|
||||
|
Reference in New Issue
Block a user