update UrlEncode of python api
This commit is contained in:
parent
4e512b75ac
commit
e56f4fe818
|
@ -31,8 +31,8 @@ class GstoreConnector:
|
|||
ret += c
|
||||
elif ((ord(c)>=97) and (ord(c)<=122)):
|
||||
ret += c
|
||||
elif (ord(c)>=256):
|
||||
ret += chr(ord(c))
|
||||
elif (ord(c)==32):
|
||||
ret += '+'
|
||||
elif ((ord(c)!=9) and (ord(c)!=10) and (ord(c)!=13)):
|
||||
ret += "{}{:X}".format("%", ord(c))
|
||||
return ret
|
||||
|
|
Loading…
Reference in New Issue