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

This commit is contained in:
Kenneth Reitz
2011-08-17 09:45:23 -04:00
+1 -1
View File
@@ -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