Skip to content
Myr

Merge pull request #3691 from Cleod9/readme-typo-domain-arg

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes small readme typo - site => domain

authored by Cory Benfield · committed by GitHub · parents 3ea3324, b4d843b · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/user/quickstart.rst+2 added-2 removed
421 unmodified lines
422suitable for use over multiple domains or paths. Cookie jars can423also be passed in to requests::424425 >>> jar = requests.cookies.RequestsCookieJar()426 >>> jar.set('tasty_cookie', 'yum', site='httpbin.org', path='/cookies')427 >>> jar.set('gross_cookie', 'blech', site='httpbin.org', path='/elsewhere')426 >>> jar.set('tasty_cookie', 'yum', domain='httpbin.org', path='/cookies')427 >>> jar.set('gross_cookie', 'blech', domain='httpbin.org', path='/elsewhere')428 >>> url = 'http://httpbin.org/cookies'429 >>> r = requests.get(url, cookies=jar)430 >>> r.text431 '{"cookies": {"tasty_cookie": "yum"}}'
96 unmodified lines