def get_absolute_path(self, *args, **kwargs):
abs_path = super(AuthStaticFileHandler, self).get_absolute_path(*args, **kwargs)
if '?' in abs_path:
# Treat ? in path as the query delimiter (but not in get_current_user)
abs_path, _, self.abs_query = abs_path.partition('?')
if Options['debug']:
print >>sys.stderr, "AuthStaticFileHandler.get_absolute_path", abs_path, self.abs_query
return abs_path
评论列表
文章目录