requests python add header code example Example: python request add header headers_dict = {"Cookie": "cookie1=value1"}