Minor fix

This commit is contained in:
Miroslav Stampar 2013-01-25 12:41:51 +01:00
parent 194a9e7b88
commit 479f791112

View File

@ -687,7 +687,7 @@ class Connect(object):
else:
uri = conf.url
if place == PLACE.CUSTOM_HEADER:
if value and place == PLACE.CUSTOM_HEADER:
if not auxHeaders:
auxHeaders = {}
auxHeaders[value.split(',')[0]] = value.split(',', 1)[1]