import requests
logo_url = 'http://match.yuanrenxue.com/logo'
headers = {
'Host': 'match.yuanrenxue.com',
'Connection': 'keep-alive',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) ',
'Accept': '*/*',
'Origin': 'http://match.yuanrenxue.com',
'Referer': 'http://match.yuanrenxue.com/match/3',
'Accept-Encoding': 'gzip, deflate',
'Accept-Language': 'zh-CN,zh;q=0.9',
}
session = requests.session()
session.headers.clear()
session.headers.update(headers)
resp = session.post(logo_url)
print(resp.headers)