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