def break_down_cookie(cookie):
 cookie_a = cookie.split(';')
 cookie_name = cookie_a[0].split('=')[0]
 cookie_text = ' {0}; ${1}'.format(cookie_a[0].split('=')[1], cookie_a[1].lstrip())
 return {cookie_name: cookie_text}

def break_down_cookie ( cookie ) : cookie_a = cookie . split ( ';' ) cookie_name = cookie_a [ 0 ] . split ( '=' ) [ 0 ] cookie_text = ' {0}; ${1}' . format ( cookie_a [ 0 ] . split ( '=' ) [ 1 ] , cookie_a [ 1 ] . lstrip ( ) ) return { cookie_name : cookie_text }
breaks down vsphere soap cookie .