[issue17251] LWPCookieJar load() set domain_specifed wrong

2020-11-06 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker

[issue17251] LWPCookieJar load() set domain_specifed wrong

2019-01-24 Thread Demian Brecht
Change by Demian Brecht : -- nosy: -demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-03-10 Thread B. Kyven
B. Kyven added the comment: @Demian Brecht Um, I do realize the lack of popularity of this module, now. What I try to achieve is simple. store persistent cookies in a way, that's told to be standard in python ? Actually, I was trying to sync QtCookiesJar to CookieJar to make urllib2 works

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-03-08 Thread Demian Brecht
Demian Brecht added the comment: @B. Kyven: What are you trying to achieve? LWP is intended to be used with libwww-perl libary, which is not known to be compatible with any browsers (not sure whether or not this has any bearing on what you're doing). Really, IMHO, this entire module is in

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-03-07 Thread B. Kyven
B. Kyven added the comment: I now realized LWPCookieJar is a subclass of CookieJar but it behaves differently. I believe there are other quirks I haven't discovered, like expire=None which cause exception in LWPCookieJar, but works fine for CookieJar. Sadly the doc didn't mention them. The

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-02-27 Thread Maximiliano Curia
Maximiliano Curia added the comment: I've deleted my previous patch, as I found the code working as intended. The domain_specified signals whether the domain stores came from a Domain: tag inside a Set-Cookie request or is taken from the hostname of the request. The rfc2965 dictates that a

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-02-26 Thread Maximiliano Curia
Maximiliano Curia added the comment: Hi, This is still present in the current mercurial. I'm attaching a patch that fixes the issue. Thanks. -- keywords: +patch nosy: +m...@debian.org versions: +Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 Added file:

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-02-26 Thread Demian Brecht
Demian Brecht added the comment: According to some digging around that I've done, this issue may be invalid: (I couldn't find an RFC or detailed spec of the LWP format, so reading from libwww-perl source @ http://cpansearch.perl.org/src/GAAS/libwww-perl-5.836/lib/HTTP/Cookies.pm) # Try with

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-02-26 Thread Maximiliano Curia
Changes by Maximiliano Curia m...@debian.org: Removed file: http://bugs.python.org/file29248/issue_17251.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17251 ___

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-02-26 Thread Demian Brecht
Demian Brecht added the comment: That was silly of me. What I /meant/ to say was that, for this specific report, it's functioning as expected. However, the logic in LWPCookieJar isn't entirely correct. As noted in the comments from libwww-perl, the reported URL is in fact, an invalid LWP

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-02-19 Thread B. Kyven
New submission from B. Kyven: Hello, I am using LWPCookieJar to store cookies. But I am having trouble. Saving is fine, load is wrong. I use Cookie.domain_specified to judge if domain exist. save the following to test.lwp - #LWP-Cookies-2.0 Set-Cookie3: name=value; path=/ddd/;