Compare commits

..
2 Commits
Author SHA1 Message Date
Bai Long 7e66297bf9 Merge pull request #91 from longbai/remove-transform
remove transform
2014-05-30 19:59:32 +08:00
longbai ba91ee2377 remove transform 2014-05-30 18:44:04 +08:00
+2 -4
View File
@@ -51,15 +51,13 @@ module Qiniu
:callback_body => "callbackBody" , :callback_body => "callbackBody" ,
:persistent_ops => "persistentOps" , :persistent_ops => "persistentOps" ,
:persistent_notify_url => "persistentNotifyUrl" , :persistent_notify_url => "persistentNotifyUrl" ,
:transform => "transform" ,
# 数值类型参数 # 数值类型参数
:deadline => "deadline" , :deadline => "deadline" ,
:insert_only => "insertOnly" , :insert_only => "insertOnly" ,
:fsize_limit => "fsizeLimit" , :fsize_limit => "fsizeLimit" ,
:detect_mime => "detectMime" , :detect_mime => "detectMime" ,
:mime_limit => "mimeLimit" , :mime_limit => "mimeLimit"
:fop_timeout => "fopTimeout"
} # PARAMS } # PARAMS
public public
@@ -184,7 +182,7 @@ module Qiniu
# 如果有Body,则也加上 # 如果有Body,则也加上
# (仅限于mime == "application/x-www-form-urlencoded"的情况) # (仅限于mime == "application/x-www-form-urlencoded"的情况)
if body.is_a?(String) && !body.empty? if body.is_a?(String) && !body.empty?
signing_str += body signing_str += body
end end
### 生成数字签名 ### 生成数字签名