how to set the http header in python code example Example: how do you set headers in python get requests b'{\n "cookies": {\n "cookie1": "value1"\n }\n}\n'