Skip to content
Myr

update documentation to correspond to new cookie API

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

authored by Shivaram Lingamneni · committed by Shivaram Lingamneni · parent ff7cfa7 · 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
300 unmodified lines
301302 >>> url = 'http://httpbin.org/cookies/set/requests-is/awesome'303 >>> r = requests.get(url)304305 >>> print r.cookies306 {'requests-is': 'awesome'}305 >>> r.cookies['requests-is']306 'awesome'307308To send your own cookies to the server, you can use the ``cookies``309parameter::310
122 unmodified lines