##// END OF EJS Templates
vcs: Send custom repo-locked status code to the VCSServer.
Martin Bornhold -
r980:44ed2293 default
parent child Browse files
Show More
@@ -90,6 +90,7 b' class VcsHttpProxy(object):'
90 'X-RC-Path-Info': environ['PATH_INFO'],
90 'X-RC-Path-Info': environ['PATH_INFO'],
91 # TODO: johbo: Avoid encoding and put this into payload?
91 # TODO: johbo: Avoid encoding and put this into payload?
92 'X-RC-Repo-Config': base64.b64encode(config),
92 'X-RC-Repo-Config': base64.b64encode(config),
93 'X-RC-Locked-Status-Code': rhodecode.CONFIG.get('lock_ret_code')
93 })
94 })
94
95
95 data = environ['wsgi.input'].read()
96 data = environ['wsgi.input'].read()
General Comments 0
You need to be logged in to leave comments. Login now