qiniu / qiniu/python-sdk

pip安装7.2.6 auth.QiniuMacAuth.token_of_request方法有误

Open
#355 5 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.