Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

fixed minor mistake in Request objects documentation

Jason Yeoda826aa13dcc
diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst
index 08e8a1a3c..c7d7a91fd 100644
--- a/docs/topics/request-response.rst
+++ b/docs/topics/request-response.rst
@@ -54,7 +54,7 @@ Request objects
:param cookies: the request cookies. Example::
request_with_cookies = Request(url="http://www.example.com",
- cookies={currency: 'USD', country: 'UY'})
+ cookies={'currency': 'USD', 'country': 'UY'})
When some site returns cookies (in a response) those are stored in the
cookies for that domain and will be sent again in future requests. That's
@@ -66,7 +66,7 @@ Request objects
Example of request without merging cookies::
request_with_cookies = Request(url="http://www.example.com",
- cookies={currency: 'USD', country: 'UY'},
+ cookies={'currency': 'USD', 'country': 'UY'},
meta={'dont_merge_cookies': True})
For more info see :ref:`cookies-mw`.