Skip to content

Commit bf3c9ee

Browse files
jsyeopablohoffman
authored andcommitted
fixed minor mistake in Request objects documentation
1 parent ba14f38 commit bf3c9ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/topics/request-response.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Request objects
5454
:param cookies: the request cookies. Example::
5555

5656
request_with_cookies = Request(url="http://www.example.com",
57-
cookies={currency: 'USD', country: 'UY'})
57+
cookies={'currency': 'USD', 'country': 'UY'})
5858

5959
When some site returns cookies (in a response) those are stored in the
6060
cookies for that domain and will be sent again in future requests. That's
@@ -66,7 +66,7 @@ Request objects
6666
Example of request without merging cookies::
6767

6868
request_with_cookies = Request(url="http://www.example.com",
69-
cookies={currency: 'USD', country: 'UY'},
69+
cookies={'currency': 'USD', 'country': 'UY'},
7070
meta={'dont_merge_cookies': True})
7171

7272
For more info see :ref:`cookies-mw`.

0 commit comments

Comments
 (0)