GET 和 POST
import requests
url = 'https://www.baidu.com'
response = requests.get(url)
header = response.request.headers
print(header)
'''
{'User-Agent': 'python-requests/2.24.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}
'''