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