python 发送http请求报'set' object has no attribute 'items'
原因:低级出错,headers弄成一个字符串了。应该是一个字典
headers = { "Content-Type: multipart/form-data; boundary=-------------------------acebdf13572468"}
改为
headers = {
"Content-Type": "multipart/form-data; boundary=-------------------------acebdf13572468"}
问题解决