vcs: Send custom repo-locked status code to the VCSServer.
This commit is contained in:
parent
2b09ada931
commit
10181aa8e6
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue