code: def _parse_cookies(cookie_str, dictionary):
      
      parsed_cookie = six.moves.http_cookies.SimpleCookie(cookie_str)
      for cookie in parsed_cookie.values():
          dictionary[cookie.key] = cookie.coded_value
docs: Tries to parse any key-value pairs of cookies in a string,
      then updates the the dictionary with any key-value pairs found.
  
      **Example**::
          dictionary = {}
          _parse_cookies('my=value', dictionary)
          # Now the following is True
          dictionary['my'] == 'value'
  
      :param cookie_str: A string containing "key=value" pairs from an HTTP "Set-Cookie" header.
      :type cookie_str: ``str``
      :param dictionary: A dictionary to update with any found key-value pairs.
      :type dictionary: ``dict``