-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip安装7.2.6 auth.QiniuMacAuth.token_of_request方法有误 #355
Comments
内部issue TS-999 |
我测试都是正常,python3、2都是正常安装,你那边报什么错?什么版本?怎么复现? |
异步抓取图片
测试异常 (py3t) houh@houhdeMacBook-Pro py36test % python -m unittest test/qiniusdk/token_test.py
|
为啥我生成的管理凭证,用postman请求时报"bad token" |
贴上部分代码,注意header部分数据处理和'\n' 参考 https://developer.qiniu.com/kodo/1201/access-token |
源码auth.py 266行
if content_type and content_type != "application/octet-stream" and body: if isinstance(body,bytes): data += body.decode(encoding='UTF-8') else: data += body
,源码正确,安装包错误
The text was updated successfully, but these errors were encountered: