[update] 支持直接http路径
This commit is contained in:
parent
b3c5a23563
commit
4804d476e0
@ -404,6 +404,9 @@ class RestClient(object):
|
|||||||
try:
|
try:
|
||||||
with self._get_session() as session:
|
with self._get_session() as session:
|
||||||
request = self.sign(request)
|
request = self.sign(request)
|
||||||
|
if request.path.startswith('http'):
|
||||||
|
url = request.path
|
||||||
|
else:
|
||||||
url = self.make_full_url(request.path)
|
url = self.make_full_url(request.path)
|
||||||
|
|
||||||
# send request
|
# send request
|
||||||
|
Loading…
Reference in New Issue
Block a user