We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f664e3a commit 6c124aaCopy full SHA for 6c124aa
docs/README.gist.md
@@ -194,7 +194,7 @@ PutExtra是上传时的可选信息,默认为None
194
```
195
196
* `params` 是一个字典。[自定义变量](http://docs.qiniu.com/api/put.html#xVariables),key必须以 x: 开头命名,不限个数。可以在 uploadToken 的 callbackBody 选项中求值。
197
-* `mime_type` 表示数据的MimeType。
+* `mime_type` 表示数据的MimeType,当不指定时七牛服务器会自动检测。
198
* `crc32` 待检查的crc32值
199
* `check_crc` 可选值为0, 1, 2。
200
`check_crc == 0`: 表示不进行 crc32 校验。
qiniu/io.py
@@ -13,7 +13,7 @@
13
# @gist PutExtra
14
class PutExtra(object):
15
params = {}
16
- mime_type = 'application/octet-stream'
+ mime_type = ''
17
crc32 = ""
18
check_crc = 0
19
# @endgist
0 commit comments