From d3e6597f73c8e6f5fc88aa6afc62611fbd8be8bd Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Thu, 17 Jan 2013 19:28:28 +0000 Subject: [PATCH] Update docs with correct cookie behaviour. --- docs/user/quickstart.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 0e80eaa..46ce580 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -320,11 +320,11 @@ Cookies If a response contains some Cookies, you can get quick access to them:: - >>> url = 'http://httpbin.org/cookies/set/requests-is/awesome' + >>> url = 'http://example.com/some/cookie/setting/url' >>> r = requests.get(url) - >>> r.cookies['requests-is'] - 'awesome' + >>> r.cookies['example_cookie_name'] + 'example_cookie_value' To send your own cookies to the server, you can use the ``cookies`` parameter:: -- 2.7.4