diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 10:57:37 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 10:57:37 (GMT) |
commit | c5574e809b18d517f81e93542db76642662823cd (patch) | |
tree | 646ebdff3431d8d25202c959c4ac47b0cb4f4e08 /Lib/_LWPCookieJar.py | |
parent | 4ea3eade518c6a48b0708736442deefe669fe287 (diff) | |
download | cpython-c5574e809b18d517f81e93542db76642662823cd.zip cpython-c5574e809b18d517f81e93542db76642662823cd.tar.gz cpython-c5574e809b18d517f81e93542db76642662823cd.tar.bz2 |
Patch #1117454: Remove code to special-case cookies without values
in LWPCookieJar. Backported to 2.4.
Diffstat (limited to 'Lib/_LWPCookieJar.py')
-rw-r--r-- | Lib/_LWPCookieJar.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/_LWPCookieJar.py b/Lib/_LWPCookieJar.py index 2c8d456..25a2528 100644 --- a/Lib/_LWPCookieJar.py +++ b/Lib/_LWPCookieJar.py @@ -115,13 +115,6 @@ class LWPCookieJar(FileCookieJar): for data in split_header_words([line]): name, value = data[0] - # name and value are an exception here, since a plain "foo" - # (with no "=", unlike "bar=foo") means a cookie with no - # name and value "foo". With all other cookie-attributes, - # the situation is reversed: "foo" means an attribute named - # "foo" with no value! - if value is None: - name, value = value, name standard = {} rest = {} for k in boolean_attrs: |