Skip to content
Snippets Groups Projects
Commit d3bb14b4 authored by Gunnar Schaefer's avatar Gunnar Schaefer
Browse files

Update http headers

parent 1150a886
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,8 @@ if args.insecure:
requests.packages.urllib3.disable_warnings()
http_headers = {
'User-Agent': 'SciTran Drone Bootstrapper',
'X-SciTran-Method': 'bootstrapper',
'X-SciTran-Name': 'Bootstrapper',
}
if args.secret:
http_headers['X-SciTran-Auth'] = args.secret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment