Skip to content

Commit

Permalink
fix doc ref url
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing authored Jun 28, 2017
1 parent ba1dd77 commit 4bf9048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qiniu/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def urlsafe_base64_encode(data):
"""urlsafe的base64编码:
对提供的数据进行urlsafe的base64编码。规格参考:
http://developer.qiniu.com/docs/v6/api/overview/appendix.html#urlsafe-base64
https://developer.qiniu.com/kodo/manual/1231/appendix#1
Args:
data: 待编码的数据,一般为字符串
Expand Down Expand Up @@ -108,7 +108,7 @@ def _sha1(data):
def etag_stream(input_stream):
"""计算输入流的etag:
etag规格参考 http://developer.qiniu.com/docs/v6/api/overview/appendix.html#qiniu-etag
etag规格参考 https://developer.qiniu.com/kodo/manual/1231/appendix#3
Args:
input_stream: 待计算etag的二进制流
Expand Down Expand Up @@ -145,7 +145,7 @@ def etag(filePath):
def entry(bucket, key):
"""计算七牛API中的数据格式:
entry规格参考 http://developer.qiniu.com/docs/v6/api/reference/data-formats.html
entry规格参考 https://developer.qiniu.com/kodo/api/1276/data-format
Args:
bucket: 待操作的空间名
Expand Down

0 comments on commit 4bf9048

Please sign in to comment.