From fdd08215ea88510ecc5ccf883f37b9d087a5c112 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Tue, 1 May 2012 21:46:04 -0700 Subject: [PATCH] update documentation to correspond to new cookie API --- docs/user/quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 70ec5f13..62316309 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -302,8 +302,8 @@ If a response contains some Cookies, you can get quick access to them:: >>> url = 'http://httpbin.org/cookies/set/requests-is/awesome' >>> r = requests.get(url) - >>> print r.cookies - {'requests-is': 'awesome'} + >>> r.cookies['requests-is'] + 'awesome' To send your own cookies to the server, you can use the ``cookies`` parameter::