📜  在 python 请求中设置 cookie - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:57.531000             🧑  作者: Mango

代码示例2
http = httplib2.Http()
# get cookie_value here
headers = {'Cookie':cookie_value}
response, content = http.request("http://www.theURL.com", 'GET', headers=headers)