Skip to content
Browse files

Merge branch 'patch-1' of https://github.com/sharat87/requests into d…

…evelop
  • Loading branch information...
2 parents 61d50d5 + 5e6ecda commit 0708736c4594c41136dd163a29b5a7060a6723d8 @kennethreitz kennethreitz committed Aug 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/user/advanced.rst
View
2 docs/user/advanced.rst
@@ -34,7 +34,7 @@ Sessions can also be used to provide default data to the request methods::
with requests.session(auth=auth, headers=headers) as c:
# both 'x-test' and 'x-test2' are sent
- c.get('http://httpbin.org/headers', header={'x-test2', 'true'})
+ c.get('http://httpbin.org/headers', headers={'x-test2': 'true'})
.. admonition:: Global Settings

0 comments on commit 0708736

Please sign in to comment.
Something went wrong with that request. Please try again.