diff --git a/lib/request/connect.py b/lib/request/connect.py index 1394fc49e..e2ea2ac3e 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -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]