Merge pull request #103 from jsyeo/patch-1

fixed minor mistake in Request objects documentation
This commit is contained in:
Pablo Hoffman 2012-03-20 19:49:31 -07:00
commit eed34e88cd
1 changed files with 2 additions and 2 deletions

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