Andrey Chichak <c...@kit.tomsk.ru> added the comment: This is fix for rare problem. If I set 2 cookies: sid=pub.GHoBitAWLt, path="/" sid=cab.S97jUfeihM, path="/cab" All browsers in Cookie header send for any URL '/cab*': sid=cab.S97jUfeihM; sid=pub.GHoBitAWLt Current implementation always returns Cookie['sid']=pub.GHoBitAWLt - wrong! My patch resolve this problem and Cookie['sid'] returns first (nearest/deepest in path) cookie value, and also collects all same name cookies in dict Cookie._multi .
Name (_multi) may be wrong, and may be any other :o) . Also I can update documentation, but my English is not so good ... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7504> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com