This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author henriko
Recipients DenNukem, henriko, jjlee, loewis
Date 2009-03-02.12:11:38
SpamBayes Score 0.000125992
Marked as misclassified No
Message-id <>
The cookiejar workaround in the first comment did not work for me. The
cookies didn't stick in it. I guess version needs to be set.. this
worked for me:

class ForgivingCookieJar(cookielib.CookieJar):
    def _cookie_from_cookie_tuple(self, tup, request):
        name, value, standard, rest = tup
        version = standard.get("version", None)
        if version is not None:
            # Some servers add " around the version number, this module
expects a pure int.
            standard["version"] = version.strip('"')
        return cookielib.CookieJar._cookie_from_cookie_tuple(self, tup,
Date User Action Args
2009-03-02 12:11:41henrikosetrecipients: + henriko, loewis, jjlee, DenNukem
2009-03-02 12:11:41henrikosetmessageid: <>
2009-03-02 12:11:39henrikolinkissue3924 messages
2009-03-02 12:11:38henrikocreate