Skip to content
Myr

Typo in documentation

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

The kwarg is named `headers`, not `header`. Also, its a dict, not a set.

authored by Shrikant Sharat Kandula · committed by Shrikant Sharat Kandula · parent 9471b0a · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/advanced.rst+1 added-1 removed
32 unmodified lines
3334 with requests.session(auth=auth, headers=headers) as c:3536 # both 'x-test' and 'x-test2' are sent37 c.get('http://httpbin.org/headers', header={'x-test2', 'true'})37 c.get('http://httpbin.org/headers', headers={'x-test2': 'true'})383940.. admonition:: Global Settings41
96 unmodified lines