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