Kaydet (Commit) 8b15ee0d authored tarafından Ezio Melotti's avatar Ezio Melotti

#15980: merge with 3.2.

...@@ -1825,7 +1825,7 @@ def lwp_cookie_str(cookie): ...@@ -1825,7 +1825,7 @@ def lwp_cookie_str(cookie):
class LWPCookieJar(FileCookieJar): class LWPCookieJar(FileCookieJar):
""" """
The LWPCookieJar saves a sequence of"Set-Cookie3" lines. The LWPCookieJar saves a sequence of "Set-Cookie3" lines.
"Set-Cookie3" is the format used by the libwww-perl libary, not known "Set-Cookie3" is the format used by the libwww-perl libary, not known
to be compatible with any browser, but which is easy to read and to be compatible with any browser, but which is easy to read and
doesn't lose information about RFC 2965 cookies. doesn't lose information about RFC 2965 cookies.
...@@ -1837,7 +1837,7 @@ class LWPCookieJar(FileCookieJar): ...@@ -1837,7 +1837,7 @@ class LWPCookieJar(FileCookieJar):
""" """
def as_lwp_str(self, ignore_discard=True, ignore_expires=True): def as_lwp_str(self, ignore_discard=True, ignore_expires=True):
"""Return cookies as a string of "\n"-separated "Set-Cookie3" headers. """Return cookies as a string of "\\n"-separated "Set-Cookie3" headers.
ignore_discard and ignore_expires: see docstring for FileCookieJar.save ignore_discard and ignore_expires: see docstring for FileCookieJar.save
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment