Earlier I used httplib module to add a header in the request. Now I am trying the same thing with the requests module.
This is the python request module I am using: http://pypi.python.org/pypi/requests
How can I add a header to request.post() and request.get(). Say I have to add foobar key in each request in the header.