vcs: Send custom repo-locked status code to the VCSServer.

This commit is contained in:
Martin Bornhold 2016-10-10 16:07:15 +02:00
parent 2b09ada931
commit 10181aa8e6

View file

@ -90,6 +90,7 @@ class VcsHttpProxy(object):
'X-RC-Path-Info': environ['PATH_INFO'],
# TODO: johbo: Avoid encoding and put this into payload?
'X-RC-Repo-Config': base64.b64encode(config),
'X-RC-Locked-Status-Code': rhodecode.CONFIG.get('lock_ret_code')
})
data = environ['wsgi.input'].read()