Message83013
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,
request) |
|
Date |
User |
Action |
Args |
2009-03-02 12:11:41 | henriko | set | recipients:
+ henriko, loewis, jjlee, DenNukem |
2009-03-02 12:11:41 | henriko | set | messageid: <1235995901.66.0.751451758988.issue3924@psf.upfronthosting.co.za> |
2009-03-02 12:11:39 | henriko | link | issue3924 messages |
2009-03-02 12:11:38 | henriko | create | |
|