Merge "Set content-type when signaling deployment"

This commit is contained in:
Jenkins
2017-01-16 02:01:28 +00:00
committed by Gerrit Code Review

View File

@@ -149,7 +149,7 @@ properties:
iv = dict((i['name'], i['value']) for i in dep['inputs'])
sigurl = iv.get('deploy_signal_id')
requests.post(sigurl, data='{}',
headers={'content-type': None},
headers={'content-type': 'application/json'},
verify=self.verify_cert)