def get_dict(self, domain=None, path=None):
dictionary = {}<EOL>for cookie in iter(self):<EOL><INDENT>if (domain is None or cookie.domain == domain) and (path is None<EOL>or cookie.path == path):<EOL><INDENT>dictionary[cookie.name] = cookie.value<EOL><DEDENT><DEDENT>return dictionary<EOL>
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.