python requests add header code example
Example 1: python request add header
headers_dict = {"Cookie": "cookie1=value1"}
Example 2: how do you set headers in python get requests
b'{\n "cookies": {\n "cookie1": "value1"\n }\n}\n'
headers_dict = {"Cookie": "cookie1=value1"}
b'{\n "cookies": {\n "cookie1": "value1"\n }\n}\n'