Commit d6e65366 authored by 曾坤's avatar 曾坤 :flag_cn:
Browse files

fix

parent a9f1d7c7
Showing with 1 addition and 1 deletion
+1 -1
......@@ -40,7 +40,7 @@ module AliyunSDKCore
querystring = canonicalize(normalized)
uri = opts[:method] == 'POST' ? '/' : "/?#{querystring}"
uri = opts[:method] == 'POST' && !opts[:q] ? '/' : "/?#{querystring}"
response = connection.send(method.downcase, uri) do |request|
request.headers['User-Agent'] = DEFAULT_UA
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment