Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gems
Openapi Core Ruby Sdk
Commits
d6e65366
Commit
d6e65366
authored
1 year ago
by
曾坤
Browse files
Options
Download
Email Patches
Plain Diff
fix
parent
a9f1d7c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/aliyunsdkcore/rpc_client.rb
+1
-1
lib/aliyunsdkcore/rpc_client.rb
with
1 addition
and
1 deletion
+1
-1
lib/aliyunsdkcore/rpc_client.rb
View file @
d6e65366
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help