Consider the following code:
import requests headers = { \':authority\': \'some_url.com\', \'accept\': \'text/html,application/xhtml+xml,application/xml;