mirror of https://github.com/scrapy/scrapy.git
Update docs after suggestions
This commit is contained in:
parent
4db588be04
commit
1dea50ba0d
|
|
@ -172,6 +172,9 @@ Request objects
|
|||
``copy()`` or ``replace()`` methods, and can also be accessed, in your
|
||||
spider, from the ``response.meta`` attribute.
|
||||
|
||||
Values are only acessible on the next :class:`Response`, to forward a key/value
|
||||
through subsequent responses see :class:`~scrapy.spidermiddlewares.stickymeta.StickyMetaParamsMiddleware`.
|
||||
|
||||
.. attribute:: Request.cb_kwargs
|
||||
|
||||
A dictionary that contains arbitrary metadata for this request. Its contents
|
||||
|
|
|
|||
|
|
@ -463,11 +463,9 @@ StickyMetaParamsMiddleware
|
|||
When enabled and configured, this middleware forwards the desired :ref:`Request.meta <topics-request-meta>`
|
||||
parameters between ``Requests`` and ``Responses``.
|
||||
|
||||
The :class:`StickyMetaParamsMiddleware` can be configure though the ``sticky_meta_keys``
|
||||
The :class:`StickyMetaParamsMiddleware` can be configured through the :attr:`~scrapy.spiders.Spider.sticky_meta_keys`
|
||||
spider attribute.
|
||||
|
||||
* :attr:`~scrapy.spiders.Spider.sticky_meta_keys` - List of keys to be stickied.
|
||||
|
||||
See the difference between :ref:`topics-spiders` with and without the middleware:
|
||||
|
||||
Without the middleware::
|
||||
|
|
|
|||
Loading…
Reference in New Issue