From c9bb3a4f4b5dfd9db961a30f231a72da87670b9d Mon Sep 17 00:00:00 2001 From: Georgiy Zatserklianyi Date: Fri, 31 Oct 2025 14:21:23 +0100 Subject: [PATCH] cookiejar: typo fixed --- docs/topics/downloader-middleware.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rst index 6df3e1e87..d0a5ea63e 100644 --- a/docs/topics/downloader-middleware.rst +++ b/docs/topics/downloader-middleware.rst @@ -274,7 +274,7 @@ Here's an example of a log with :setting:`COOKIES_DEBUG` enabled:: Direct access to cookiejars from spider ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In some cases it is required to directly set specific values in an existing :class:`scrapy.http.cookies.CookieJar` object where :class:`http.cookies.CookieJar` from python standard library used here) +In some cases it is required to directly set specific values in an existing :class:`scrapy.http.cookies.CookieJar` object where :class:`http.cookiejar.CookieJar` from python standard library used here) .. skip: start .. code-block:: python @@ -355,7 +355,7 @@ Known use cases where direct access to cookiejar objects can be useful: 1. Modifying specific cookie value (as provided on example code sample above). 2. Delete cookiejar. On some cases this can re-initialise session. -.. warning:: ``http.cookiejar`` object from python standart lib https://docs.python.org/3/library/http.cookies.html doesn't provide option to individually access/modify specific cookie values. It is possible to change it only using it's private attributes as provided on code sample above. +.. warning:: ``http.cookiejar.CookieJar`` object from python standard lib https://docs.python.org/3/library/http.cookies.html doesn't provide option to individually access/modify specific cookie values. It is possible to change it only using it's private attributes as provided on code sample above. DefaultHeadersMiddleware ------------------------