From b4d843bad22ecbe8366cd1dcc5536e7070ef0b81 Mon Sep 17 00:00:00 2001 From: Greg McLeod Date: Tue, 15 Nov 2016 22:27:45 -0500 Subject: [PATCH] Fixed readme typo - 'site' should be 'domain' --- 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 88c6df78..e6fc61f1 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -423,8 +423,8 @@ suitable for use over multiple domains or paths. Cookie jars can also be passed in to requests:: >>> jar = requests.cookies.RequestsCookieJar() - >>> jar.set('tasty_cookie', 'yum', site='httpbin.org', path='/cookies') - >>> jar.set('gross_cookie', 'blech', site='httpbin.org', path='/elsewhere') + >>> jar.set('tasty_cookie', 'yum', domain='httpbin.org', path='/cookies') + >>> jar.set('gross_cookie', 'blech', domain='httpbin.org', path='/elsewhere') >>> url = 'http://httpbin.org/cookies' >>> r = requests.get(url, cookies=jar) >>> r.text