8000 Document that MozillaCookieJar works for curl's cookie files (#91852) · python/cpython@0ea8b92 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ea8b92

Browse files
authored
Document that MozillaCookieJar works for curl's cookie files (#91852)
MozillaCookieJar works for curl's cookies
1 parent b0f89cb commit 0ea8b92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/http.cookiejar.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ writing.
320320
.. class:: MozillaCookieJar(filename, delayload=None, policy=None)
321321

322322
A :class:`FileCookieJar` that can load from and save cookies to disk in the
323-
Mozilla ``cookies.txt`` file format (which is also used by the Lynx and Netscape
324-
browsers).
323+
Mozilla ``cookies.txt`` file format (which is also used by curl and the Lynx
324+
and Netscape browsers).
325325

326326
.. note::
327327

Lib/http/cookiejar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,7 @@ class MozillaCookieJar(FileCookieJar):
19851985
19861986
This class differs from CookieJar only in the format it uses to save and
19871987
load cookies to and from a file. This class uses the Mozilla/Netscape
1988-
`cookies.txt' format. lynx uses this file format, too.
1988+
`cookies.txt' format. curl and lynx use this file format, too.
19891989
19901990
Don't expect cookies saved while the browser is running to be noticed by
19911991
the browser (in fact, Mozilla on unix will overwrite your saved cookies if

0 commit comments

Comments
 (0)
0