User-Agent header if other headers are specified

This commit is contained in:
Michael Kuron
2015-11-13 15:35:29 +01:00
parent d1f9475c54
commit 088302be1d

View File

@@ -103,7 +103,6 @@ def header_dict_from_list(array):
if array is None:
return header_dict
header_dict = {}
for item in array:
(key, sep, value) = item.partition(':')
if sep and value: