passing data in headers using requests code example
Example: how to pass header in requests
import requests
r=requests.get("http://www.example.com/", headers={"content-type":"text"})
import requests
r=requests.get("http://www.example.com/", headers={"content-type":"text"})