code: def get_dict(self, domain=None, path=None):
          
          dictionary = {}
          for cookie in iter(self):
              if (domain is None or cookie.domain == domain) and (path is None
                                                  or cookie.path == path):
                  dictionary[cookie.name] = cookie.value
          return dictionary
docs: Takes as an argument an optional domain and path and returns a plain
          old Python dict of name-value pairs of cookies that meet the
          requirements.