1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 20:23:44 +00:00

fixed minor mistake in Request objects documentation

This commit is contained in:
Jason Yeo 2012-03-21 10:25:41 +08:00
parent 175c70ad44
commit da826aa13d

View File

@ -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`.