mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Document that MozillaCookieJar works for curl's cookie files (GH-91852)
MozillaCookieJar works for curl's cookies
(cherry picked from commit 0ea8b925d0
)
Co-authored-by: Boris Verkhovskiy <boris.verk@gmail.com>
This commit is contained in:
parent
4420da0aef
commit
d07428607a
2 changed files with 3 additions and 3 deletions
|
@ -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::
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue