[issue1028088] Cookies without values are silently ignored (by design?)

2014-02-05 Thread Berker Peksag
Berker Peksag added the comment: This was fixed in issue 16611 (for 3.3 and 3.4) and there is a open issue for 2.7: issue 19870. I'm closing this one as a duplicate of issue 19870, because it has a patch. from http import cookies C = cookies.SimpleCookie() C.load(chips=ahoy; vienna=finger;

[issue1028088] Cookies without values are silently ignored (by design?)

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1028088 ___ ___

[issue1028088] Cookies without values are silently ignored (by design?)

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Revisiting this issue. - Cookie: should contain name=value pairs - Set-Cookie: header can contain a single word like 'secure' The current design is along the same lines only. In the original comment, the request had asked to document the

[issue1028088] Cookies without values are silently ignored (by design?)

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1028088 ___ ___ Python-bugs-list

[issue1028088] Cookies without values are silently ignored (by design?)

2010-08-19 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Any interest in this? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1028088 ___

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-10 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: I was responding to your comment of 2008-10-08 03:08, not to the opening comment. I already responded to the opening comment. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028088

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-10 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: - Problem: The secure flag of cookies is ignored by the load method. - Why is it related to this issue? Because the secure flag is a name without a value: pie=good; other=thing; secure - Why is it bad? Because the RFC says that we should

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-10 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: The Cookie: header does not have a secure flag (The Set-Cookie: header does). I don't strongly object to the issue identified in the original comment being fixed. ___ Python tracker [EMAIL PROTECTED]

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-09 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: You haven't said what the specific problem is. Note that the SimpleCookie class really represents a set of cookies, and the Morsel class represents a single cookie. It seems that setting special value-less cookie-attributes like secure works:

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-09 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: My problem, and the problem if the original bug reporter (sirilyan) is that the load method ignores names that don't have values. Quoting the original bug report: import Cookie q = Cookie.SimpleCookie(pie=good; broken; other=thing) q

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-08 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: The RFC I'm talking about is: http://www.ietf.org/rfc/rfc2109.txt ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028088 ___

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-07 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: Sorry to bother you guys after so much time, but I think that there is at least one bit of the RFC that isn't respected by this name=value thing... If we look at the RFC we'll see this: cookie-av = Comment = value