Skip to content

Commit 7fbab65

Browse files
committed
Merge pull request #73 from longshanksmo/develop
add comment of download domain
2 parents 9d96bed + e5c2868 commit 7fbab65

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/README.gist.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ ret是一个字典,含有`hash`,`key`等信息。
267267

268268
http://<domain>/<key>
269269

270+
其中\<domain\>是bucket所对应的域名。七牛云存储为每一个bucket提供一个默认域名。默认域名可以到[七牛云存储开发者平台](https://portal.qiniu.com/)中,空间设置的域名设置一节查询。
271+
270272
假设某个 bucket 既绑定了七牛的二级域名,如 hello.qiniudn.com,也绑定了自定义域名(需要备案),如 hello.com。那么该 bucket 中 key 为 a/b/c.htm 的文件可以通过 http://hello.qiniudn.com/a/b/c.htmhttp://hello.com/a/b/c.htm 中任意一个 url 进行访问。
271273

272274
**注意: key必须采用utf8编码,如使用非utf8编码访问七牛云存储将反馈错误**

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ print ret,
328328

329329
http://<domain>/<key>
330330

331+
其中\<domain\>是bucket所对应的域名。七牛云存储为每一个bucket提供一个默认域名。默认域名可以到[七牛云存储开发者平台](https://portal.qiniu.com/)中,空间设置的域名设置一节查询。
332+
331333
假设某个 bucket 既绑定了七牛的二级域名,如 hello.qiniudn.com,也绑定了自定义域名(需要备案),如 hello.com。那么该 bucket 中 key 为 a/b/c.htm 的文件可以通过 http://hello.qiniudn.com/a/b/c.htmhttp://hello.com/a/b/c.htm 中任意一个 url 进行访问。
332334

333335
**注意: key必须采用utf8编码,如使用非utf8编码访问七牛云存储将反馈错误**

0 commit comments

Comments
 (0)