how to use requests and pass response headers 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"})