用auth.token_of_request生成token后请求总是报invalid multipart format: request Content-Type isn't multipart/form-data
代码如下
auth = qiniu.Auth(qn_accesskey, qn_secretkey)
token = auth.token_of_request('http://up-z1.qiniu.com/drop/{}'.format('test-delete'), content_type='application/x-www-form-urlencoded')
headers = {'Authorization': 'Qiniu {}'.format(token), 'Content-Type': 'application/x-www-form-urlencoded'}
res = requests.post("http://up-z1.qiniu.com/drop/{}".format('test-delete'), headers=headers)
可以参考下空间删除接口的文档
https://developer.qiniu.com/k...