Commit 15719a5f authored by Łukasz Nowak's avatar Łukasz Nowak

recurlests: Fix header file generation

parent cd52bc3c
...@@ -86,7 +86,7 @@ class Recurlests(object): ...@@ -86,7 +86,7 @@ class Recurlests(object):
headers = {} headers = {}
with open(request_header_file, 'w') as fh: with open(request_header_file, 'w') as fh:
for header, value in headers.items(): for header, value in headers.items():
fh.write('%s: %s' % (header, value)) fh.write('%s: %s\n' % (header, value))
command_list.extend(['--header', '@%s' % (request_header_file,)]) command_list.extend(['--header', '@%s' % (request_header_file,)])
if auth is not None: if auth is not None:
command_list.extend(['--user', '%s:%s' % auth]) command_list.extend(['--user', '%s:%s' % auth])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment