Add mention to dont_merge_cookies in CookiesMiddlewares docs (#2999) (#3030)

Add mention to dont_merge_cookies in CookiesMiddlewares docs (#2999)
This commit is contained in:
Raphael 2017-12-27 18:54:17 -02:00 committed by Daniel Graña
parent 57d04aa960
commit a1cc5a63d3
1 changed files with 11 additions and 0 deletions

View File

@ -237,6 +237,17 @@ Default: ``True``
Whether to enable the cookies middleware. If disabled, no cookies will be sent
to web servers.
Notice that if the :class:`~scrapy.http.Request`
has ``meta['dont_merge_cookies']`` evaluated to ``True``.
despite the value of :setting:`COOKIES_ENABLED` the cookies will **not** be
sent to web servers and received cookies in
:class:`~scrapy.http.Response` will **not** be merged with the existing
cookies.
For more detailed information see the ``cookies`` parameter in
:class:`~scrapy.http.Request`
.. setting:: COOKIES_DEBUG
COOKIES_DEBUG