We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9471b0a commit 5e6ecdaCopy full SHA for 5e6ecda
1 file changed
docs/user/advanced.rst
@@ -34,7 +34,7 @@ Sessions can also be used to provide default data to the request methods::
34
with requests.session(auth=auth, headers=headers) as c:
35
36
# both 'x-test' and 'x-test2' are sent
37
- c.get('http://httpbin.org/headers', header={'x-test2', 'true'})
+ c.get('http://httpbin.org/headers', headers={'x-test2': 'true'})
38
39
40
.. admonition:: Global Settings
0 commit comments