]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document that MozillaCookieJar works for curl's cookie files (#91852)
authorBoris Verkhovskiy <boris.verk@gmail.com>
Mon, 3 Oct 2022 22:07:54 +0000 (16:07 -0600)
committerGitHub <noreply@github.com>
Mon, 3 Oct 2022 22:07:54 +0000 (15:07 -0700)
MozillaCookieJar works for curl's cookies

Doc/library/http.cookiejar.rst
Lib/http/cookiejar.py

index 53b3087a4b9997cdf769b06897f49016e6f2ac54..eb31315438f66a8551f3d7ec681fcc542d8ef6a4 100644 (file)
@@ -320,8 +320,8 @@ writing.
 .. class:: MozillaCookieJar(filename, delayload=None, policy=None)
 
    A :class:`FileCookieJar` that can load from and save cookies to disk in the
-   Mozilla ``cookies.txt`` file format (which is also used by the Lynx and Netscape
-   browsers).
+   Mozilla ``cookies.txt`` file format (which is also used by curl and the Lynx
+   and Netscape browsers).
 
    .. note::
 
index c514e0d382cbc76988ba7145f9259d8d7f89b132..65c45e2b17dfc01dd52ca566c70aae538f65f68a 100644 (file)
@@ -1985,7 +1985,7 @@ class MozillaCookieJar(FileCookieJar):
 
     This class differs from CookieJar only in the format it uses to save and
     load cookies to and from a file.  This class uses the Mozilla/Netscape
-    `cookies.txt' format.  lynx uses this file format, too.
+    `cookies.txt' format.  curl and lynx use this file format, too.
 
     Don't expect cookies saved while the browser is running to be noticed by
     the browser (in fact, Mozilla on unix will overwrite your saved cookies if