[update] 支持直接http路径
This commit is contained in:
parent
b3c5a23563
commit
4804d476e0
@ -404,7 +404,10 @@ 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)
|
||||||
url = self.make_full_url(request.path)
|
if request.path.startswith('http'):
|
||||||
|
url = request.path
|
||||||
|
else:
|
||||||
|
url = self.make_full_url(request.path)
|
||||||
|
|
||||||
# send request
|
# send request
|
||||||
uid = uuid.uuid4()
|
uid = uuid.uuid4()
|
||||||
|
Loading…
Reference in New Issue
Block a user