Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f8a3c4c

Browse filesBrowse files
Document that MozillaCookieJar works for curl's cookie files (GH-91852)
MozillaCookieJar works for curl's cookies (cherry picked from commit 0ea8b92) Co-authored-by: Boris Verkhovskiy <boris.verk@gmail.com>
1 parent 17b49be commit f8a3c4c
Copy full SHA for f8a3c4c

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎Doc/library/http.cookiejar.rst

Copy file name to clipboardExpand all lines: Doc/library/http.cookiejar.rst
+2-2Lines 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

Copy file name to clipboardExpand all lines: Lib/http/cookiejar.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ class MozillaCookieJar(FileCookieJar):
19901990
19911991
This class differs from CookieJar only in the format it uses to save and
19921992
load cookies to and from a file. This class uses the Mozilla/Netscape
1993-
`cookies.txt' format. lynx uses this file format, too.
1993+
`cookies.txt' format. curl and lynx use this file format, too.
19941994
19951995
Don't expect cookies saved while the browser is running to be noticed by
19961996
the browser (in fact, Mozilla on unix will overwrite your saved cookies if

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.