pip安装7.2.6 auth.QiniuMacAuth.token_of_request方法有误
Open
Nobody has claimed this yet.
waiting-for-info
- Dominant language
- Python
- Stars
- 550
- Forks
- 264
- Avg merge
- 19h 45m
- Merged PRs (30d)
- 1
Description
源码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,
源码正确,安装包错误
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the installed 7.2.6 package with auth.py around line 266, focusing on QiniuMacAuth.token_of_request and the handling of body values. Reproduce the discrepancy between the source and installed package, then verify that the released package matches the source behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100