|
@@ -110,7 +110,7 @@ class BaseHandler(RequestHandler,DateUtils):
|
|
if not Authorization:
|
|
if not Authorization:
|
|
return False
|
|
return False
|
|
print(Authorization)
|
|
print(Authorization)
|
|
- origStr = Authorization[::-1]
|
|
|
|
|
|
+ origStr = Authorization.split(' ')[1][::-1]
|
|
if (len(origStr) % 3 == 1):
|
|
if (len(origStr) % 3 == 1):
|
|
origStr += "=="
|
|
origStr += "=="
|
|
elif (len(origStr) % 3 == 2):
|
|
elif (len(origStr) % 3 == 2):
|